[mysql] serveur mysqld ne démarre pas (sous debian testing)
Salut,
J'ai des problèmes avec mysqld sur une debian etch (testing). Je
voudrais utiliser MySQL...
Lorsque je tente de lancer le serveur mysqld (en root), voici ce que
j'obtiens :
hajime:~# /etc/init.d/mysql start
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket:
'/var/run/mysqld/mysqld.sock' exists!
hajime:~#
NB: hajime, est le nom de la machine.
Le socket '/var/run/mysqld/mysqld.sock' n'existe pas. Comme le message
d'erreur me le suggère, je jète un oeil à syslog et voila ce que je
trouve dans /var/log/syslog :
Jan 5 22:05:37 localhost mysqld_safe[2059]: started
Jan 5 22:05:37 localhost mysqld[2063]: 060105 22:05:37
/usr/sbin/mysqld: unknown variable 'old_passwords=1'
Jan 5 22:05:37 localhost mysqld[2063]:
Jan 5 22:05:37 localhost mysqld_safe[2065]: ended
Jan 5 22:05:43 localhost /etc/init.d/mysql[2128]: 0 processes alive and
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jan 5 22:05:43 localhost /etc/init.d/mysql[2128]:
^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Jan 5 22:05:43 localhost /etc/init.d/mysql[2128]: error: 'Can't connect
to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Jan 5 22:05:43 localhost /etc/init.d/mysql[2128]: Check that mysqld is
running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Jan 5 22:05:43 localhost /etc/init.d/mysql[2128]:
Je sais pas trop quoi faire pour résoudre ce problème... :/
Quelqu'un voit une solution ?
--
a+
stephane.
Reply to: