cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"Can't connect to local MySQL server through socket" error

Hi. I have a problem with my mysql server connection but this problem is not assosiated with me. I get this error in my cPanel and my websites don't work. I call phone support but they can not solve my problem. What is the problem? Can you help me?

 

 

Error while connecting to MySQL: (XID 4ann9g) Database Connect Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Error while connecting to MySQL: (XID 4ann9g) 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.