Jump to content


msc

Member Since 22 Aug 2019
Offline Last Active Sep 10 2019 01:08 AM
-----

Topics I've Started

[Solved] mysql error

09 September 2019 - 11:48 PM

Hello,

I am getting the following error when trying to connect to mysql using phpmyadmin:

 

Error while connecting to MySQL: (XID 5dnud6) 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 5dnud6) 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 390, <STDIN> line 1. Error while connecting to MySQL: (XID k3kpy7) 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 390, line 2.

 

 

When using an external client:

Unable to connect to host johnny.heliohost.org, or the request timed out.

Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 10 seconds).

MySQL said: Can't connect to MySQL server on 'johnny.heliohost.org' (61)