Error Message
"Another daemon already running with the same unix socket."
Solution
Based on Centos, an additional method for getting it back up again when you run into this problem is to move mysql.sock with the following commands.Restarting the service creates a new entry called mqsql.sock
- # mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak
- # service mysqld start
Prevention
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. This will stop the running services before powering down the machine.
- # shutdown -h now
More information