Talk to your hosting company. If you haven’t made any changes, something else has changed without you knowing about it, and your hosting compan will be the only people that could tell you what that is.
Thread Starter
lselwd
(@lselwd)
server has mysql down in all sites:
anotherMyDomain.com cpanel
MySQL® Databases The MySQL server is currently offline.
Error while connecting to MySQL: (XID hckdua) 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 hckdua) 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, line 1.
what is this about???
It means that the database server is not working.
The only people that can fix this is your hosting company. Talk to them and they can get it fixed straight away.
Thread Starter
lselwd
(@lselwd)
Problem is server-wide — in all my MySQL sites, the database Not working
THE HOSTING SUPPORT SAID: // CAN you provide me any hint/help on this… or await cPanel forums?
”
my team and they said that there is a connectivity issue between the mysql server and the server socket layer ( mysql.sock file ).
This is something which need to be checked with cpanel forums or server admin.
Thanks and Regards,
HOSTING SUPPORT
posted and here
https://forums.cpanel.net/threads/my-old-centos6-server-has-mysql-down-in-all-sites-domains-use-mysql.662613/
If that’s the response from your hosting company… change hosting companies! They are the ones that should be getting that sorted out – UNLESS you have an unmanaged VPS/server. If that’s the case, then yes, you need to figure it out for yourself.
As that’s not a WordPress problem, you should keep it to the cPanel forums.
Dear lselwd
Could you please explain how you solved it?
Thanks & Regards
Sumesh