The MySQL server is currently offline
Error while connecting to MySQL: (XID zgjvsh) 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 zgjvsh) 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.pm line 167, line 1.
-
Hello, If your file my.cnf (usually in the /etc/mysql/ folder) is correctly configured with socket=/var/lib/mysql/mysql.sock you can check if mysql is running with the following command: mysqladmin -u root -p status try changing your permission to mysql folder. If you are working locally, you can try: sudo chmod -R 755 /var/lib/mysql/ 0 -
Hello @Aristocrat, Your access level shows as "Website Owner". I recommend reporting this issue to your web hosting provider so they can take a closer look to see why MySQL is not responding. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments