Control Web Panel

WebPanel => MySQL => Topic started by: Administrator on December 15, 2013, 04:14:23 AM

Title: Another MySQL daemon already running with the same unix socket
Post by: Administrator on December 15, 2013, 04:14:23 AM
Fix for error: Another MySQL daemon already running with the same unix socket.

To prevent the problem from occurring, you must perform a graceful shutdown of the server from the command line rather than powering off the server.
Code: [Select]
shutdown -h now
This will stop the running services before powering down the machine.
Based on Centos, an additional method for getting it back up again when you run into this problem is to move mysql.sock:

Code: [Select]
mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak
Code: [Select]
service mysqld start