Saturday, June 28, 2008

MySQL sock file not found

MySQL sock file not found
====================

= killall -9 mysqld
= service mysql stop
cp var/lib/mysql/mysql.sock var/lib/mysql/mysql.sock_backup
= rm -f /var/lib/mysql/mysql.sock
= service mysql start
= ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock
= /scripts/restartsrv mysql

No comments: