Can't connect to local MySQL server through socket

ramsin

Member
Apr 3, 2013
6
0
1
cPanel Access Level
Root Administrator
I have a problem with the server. Past few hours I have the following error. How can I fix?

ERROR: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mys:confused:
 

ramsin

Member
Apr 3, 2013
6
0
1
cPanel Access Level
Root Administrator
Re: ERROR: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql

This command does not work and the problem persists no
 

ramsin

Member
Apr 3, 2013
6
0
1
cPanel Access Level
Root Administrator
Re: ERROR: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql

This command not executed. Please help me
 

Infopro

Well-Known Member
May 20, 2003
17,075
525
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Re: ERROR: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql

I'm trying to. What do you mean when you say the command did not execute? Did you try a Graceful reboot of the server?

WHM » System Reboot > Graceful Server Reboot
 

ramsin

Member
Apr 3, 2013
6
0
1
cPanel Access Level
Root Administrator
Re: ERROR: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql

Two models have
Graceful Server Reboot
Forceful Server Reboot

What's that you say?
I rebooted the server, I do not know if the problem knowledge?