MySQL won’t start – another Daemon running

 

In  case you have troubles starting your mysql service or you are receiving the following error message when running scripts:

Another MySQL daemon already running with the same unix socket.

Starting mysqld: [FAILED]

You have two options to resolve the issue:

 

  1. You can restart gracefully your server using the following command:

# shutdown -h now

 

  1. To move mysql.sock file and start service:

# mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak

# service mysqld start