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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content