Test mysql-server sous debian

cessoune -  
 cessoune -
Bonjour,
pouvez-vous me dire comment tester mysql-server sur debian si ça marche ou pas.
merci.
Configuration: Linux Debian
Epiphany 2.14

2 réponses

  1. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Salut,

    essaie les deux commandes en gras (si tu n'as pas configuré un mot de passe alors quand il sera demander appuie tout simplement sur la touche ENTRER sans rient taper )
    lami20j@debian:~$ ps aux | grep mysql
    root      2238  0.0  0.2   2656  1312 ?        S    20:23   0:00 /bin/sh /usr/bin/mysqld_safe
    mysql     2275  0.0  3.2 126464 16608 ?        Sl   20:23   0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
    root      2276  0.0  0.0   1556   500 ?        S    20:23   0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
    lami20j   3184  0.0  0.1   3368   740 pts/0    R+   20:26   0:00 grep mysql
    lami20j@debian:~$ mysql -u root -p
    Enter password:
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 6
    Server version: 5.0.32-Debian_7etch5-log Debian etch distribution
    
    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    
    mysql>
    si tu vois quelque chose qui rassemble à ça, alors tout va bien, sinon affiche ici ce que tu vois ;-)
    0
    1. cessoune
       
      merci pour la reponse, voila ce que me donne:

      serveur:/home/a# ps aux | grep mysql
      root 5942 0.0 0.1 3672 1316 ? S 19:00 0:00 /bin/sh /usr/bi n/mysqld_safe
      mysql 6056 0.0 1.6 130288 16656 ? Sl 19:00 0:00 /usr/sbin/mysql d --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysql d/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld .sock
      root 6057 0.0 0.0 2744 564 ? S 19:00 0:00 logger -p daemo n.err -t mysqld_safe -i -t mysqld
      root 6903 0.0 0.0 2876 752 pts/3 R+ 19:32 0:00 grep mysql
      serveur:/home/a#
      serveur:/home/a#
      serveur:/home/a#
      serveur:/home/a#
      serveur:/home/a#
      serveur:/home/a# mysql -u root -p
      Enter password:
      Welcome to the MySQL monitor. Commands end with ; or \g.
      Your MySQL connection id is 1
      Server version: 5.0.32-Debian_7etch5~bpo31+1-log Debian etch distribution

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

      mysql>
      0
  2. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Re,

    Ben, ça marche.
    Problème résolu ;-)
    0
    1. cessoune
       
      merci.
      c'est réglé.
      0