Saturday, 3 October 2009

Error: Starting MySQLCouldn't find MySQL manager or server

Starting MySQLCouldn't find MySQL manager or server [FAILED]

MySQL manager or server PID file could not be found! [FAILED]

/usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! mysql has failed, please contact the sysadmin (result was "mysql has failed").

Possible Solution: Try commenting out the 'basedir' directive in your mysql configuration; the my.cnf is generally found at /etc/my.cnf

[mysql.server]
user=mysql
#basedir=/var/lib

No comments:

Post a Comment