MySQL won't start
Hello! I have been trying to solve this since this morning, but I seem to be
going nowhere :( Using debian testing, installed today. My computer is called
"firewall" and the command resolveip localhost or resolveip firewall
correctly return 127.0.0.1
When I try to start mysql from command line I get:
firewall:/etc/mysql# /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!
firewall:/etc/mysql#
while syslog says:
May 29 18:59:21 localhost mysqld_safe[4416]: started
May 29 18:59:21 localhost mysqld[4420]: 050529 18:59:21 Can't start server:
cannot resolve hostname!: No such file or directory
May 29 18:59:21 localhost mysqld_safe[4422]: ended
May 29 18:59:29 localhost /etc/init.d/mysql[4485]: 0 processes alive and
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.
cnf ping' resulted in
May 29 18:59:29 localhost /etc/init.d/mysql[4485]: ^G/usr/bin/mysqladmin:
connect to server at 'localhost' failed
May 29 18:59:29 localhost /etc/init.d/mysql[4485]: error: 'Can't connect to
local MySQL server through socket '/var/run/mysqld/m
ysqld.sock' (2)'
May 29 18:59:29 localhost /etc/init.d/mysql[4485]: Check that mysqld is
running and that the socket: '/var/run/mysqld/mysqld.soc
k' exists!
May 29 18:59:29 localhost /etc/init.d/mysql[4485]:
Any help is appreciated! Thanks
Palantir
--
Palantir === http://www.netpalantir.it
icq:57482808 === MSN: netpalantir@email.it
Nightfall, quietly crept in and changed us all
Reply to: