Hi I am trying to solve this issue last four days but unable to find any solution. I have consumed almost all articles but not found any solution
My issues is:
The MySQL server is currently offline.
And the error message is
Error while connecting to MySQL: (XID xt85vm) The system failed to connect to the “MySQL” database “mysql” because of an error: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)) Error while connecting to MySQL: (XID xt85vm) The system failed to connect to the “MySQL” database “mysql” because of an error: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)) at /usr/local/cpanel/Cpanel/Mysql/Basic.pm line 391, <STDIN> line 1.
As well as when trying to access through the SSH using
getting an error
MySQL Daemon Failed to Start - centos 6
Also
When I type: mysql
I get:
My issues is:
The MySQL server is currently offline.
And the error message is
Error while connecting to MySQL: (XID xt85vm) The system failed to connect to the “MySQL” database “mysql” because of an error: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)) Error while connecting to MySQL: (XID xt85vm) The system failed to connect to the “MySQL” database “mysql” because of an error: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)) at /usr/local/cpanel/Cpanel/Mysql/Basic.pm line 391, <STDIN> line 1.
As well as when trying to access through the SSH using
Code:
service mysqld start
MySQL Daemon Failed to Start - centos 6
Also
When I type: mysql
I get:
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Attachments
-
137.8 KB Views: 6