MySQL non-graceful shutdown prevents service restart

Solution Verified - Updated -

Issue

  • In our environment we had run cluster fencing tests, after hard-reboot our MySQL will not start.
  • After a shutdown caused by power outages, when restarting the system we are unable to access mysql and receive this error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

Environment

  • Red Hat Enterprise Linux
    • 5
    • 6
  • MySQL

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In