Tuesday, 17 December 2013

MYSQLD Deamon not starting, giving "Another MYSQL Deamon running with same Unix socket"

I have CentOS 6.4 and install MYSQL , after working some hours, I power off the system, now after Powering on the system, above error occurred, to solve the problem please do the following steps:


# shutdown -h now
 
This will stop the running services before powering down the machine.


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

# service mysqld start
 
Restarting the service creates a new entry called mqsql.sock
Or if the problem still not resolved then try below command

socket=/var/lib/mysql/mysql2.sock 

No comments:

Post a Comment