A few weeks ago our sites example.com & domain.com ran into an issue regarding the MySql databases. My only solution to fix them was to delete the cpanel sites and restore the sites back to a time when they worked. I thought it had solved the issue, however after a few days of running normally they have both ran in the following errors in MySql:
I have tried rebooting the server but that didn't work either. I will delete the cpanel site of example.com but domain will remain incase anyone wanted to see how it currently sits. It's a weird issue and one I can't figure out so thanks in advance.
Code:
[B]The system will redirect you in amoment. Error while connecting to MYSQL: (XID u878g3) Can’t connect to a local MySQL server through socket ‘/var/lib/mysql/mysql.cok’ (2)Error while connecting to MySQL: (XID u878g3) Can’t connect to local MySQL server through socket ‘var/lib/mysql/mysql.sock’ (2) at /usr/local/cpanel/Cpanel/Mysql.pm line 181.[/B]
I have tried rebooting the server but that didn't work either. I will delete the cpanel site of example.com but domain will remain incase anyone wanted to see how it currently sits. It's a weird issue and one I can't figure out so thanks in advance.
Last edited by a moderator: