Jump to content

[Solved] Error While Connecting To Mysql


hkaldane

Recommended Posts

i am getting the following error

(XID ss47ay) Error while connecting to MySQL: (XID ny7xpq) Database Connect Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Error while connecting to MySQL: (XID ny7xpq) Database Connect Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/cpanel/Cpanel/Mysql.pm line 173.

 

Link to comment
Share on other sites

The issue was probably MySQL not responding earlier for some reason. Seeing you're on Johnny, strange things are bound to happen due to high load.

 

Either way, I'll mark this solved this since it is now functioning properly.

Link to comment
Share on other sites

It looks like mysql on Johnny restarted itself right around the exact time that you posted this thread. It didn't crash it doesn't look like. During a restart there can be a little downtime. If you want better mysql uptime and stability I recommend transferring your account to Tommy. Mysql on Tommy hasn't restarted in 20 days, and I think I manually restarted it anyways.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...