Jump to content

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'


neomas

Recommended Posts

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

I don't know how to solve error

 

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

 

when i restart SQL Server (MySQL) on WHM of cPanel

it's error

 

/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
mysql has failed, please contact the sysadmin (result was "mysql has failed").

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.