In this post ,I am sharing the error message ” Another MySQL daemon already running with the same unix socket “. The error found in our own sharadchhetri.com blog while restarting the MySQL server.It is at 6:55 PM IST,I noticed the weird error message on blog,”Error establishing a database connection”.I log into the server and restarted the MySQL service by simply typing /etc/init.d/mysqld restart .But I got the error as given below –

[root@sharadchhetri-server ~]# /etc/init.d/mysqld start
Another MySQL daemon already running with the same unix socket.
Starting mysqld:                                           [FAILED]
[root@sharadchhetri-server ~]#

blog

So,I have resolved the issue by removing mysql.sock file.Given below is the method –

[root@sharadchhetri-server ~]# rm /var/lib/mysql/mysql.sock 
rm: remove socket `/var/lib/mysql/mysql.sock'? y
[root@sharadchhetri-server ~]#

Then started the MySQL service

[root@sharadchhetri-server ~]# /etc/init.d/mysqld start
Starting mysqld:                                           [  OK  ]
[root@sharadchhetri-server ~]#

🙂 And error is gone.Issue is resolved.

Read Some More Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.