Créer base de donnée MyQSL avec Shell

Fermé
noaho Messages postés 6 Date d'inscription dimanche 15 mars 2009 Statut Membre Dernière intervention 16 mars 2009 - 16 mars 2009 à 16:34
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 - 16 mars 2009 à 17:58
Bonjour,

Je connais l'affaire en php mais sous Shell Bash comme créer une base de donnée à la ligne de commande/
Ca éviterai PhpPMyAdmin mais surtout calcule un nom pur la base issu d'une url (cf tirets)
Je publierai le tout quand ça ira super bien.

localhost
nomuser
password
droits:tous les droit Grand

Merci, j'y suis presque
Alain
A voir également:

1 réponse

lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
16 mars 2009 à 17:58
Salut,

Utilise la commande mysql
lami20j@debian:~$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 34
Server version: 5.0.51a-24 (Debian)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

exit pour sortir
Voici la documentation officielle http://dev.mysql.com/doc/refman/5.0/fr/index.html
0