neomas Posted May 2, 2008 Share Posted May 2, 2008 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"). Link to comment https://forums.phpfreaks.com/topic/103860-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/ Share on other sites More sharing options...
fenway Posted May 2, 2008 Share Posted May 2, 2008 Perhaps you should read through this first. Link to comment https://forums.phpfreaks.com/topic/103860-cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysqlsock/#findComment-531674 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.