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.
--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]