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:
Or if the problem still not resolved then try below command
# 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.sockOr if the problem still not resolved then try below command
socket=/var/lib/mysql/mysql2.sock
No comments:
Post a Comment