Créer base de donnée MyQSL avec Shell

noaho Messages postés 6 Statut Membre -  
lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   -
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
Configuration: Mac OS X
Firefox 3.0.7

1 réponse

  1. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    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