All the cpanel accounts started showing up the error :”The MySQL® server is currently offline” in Cpanel and no databases exists.
Weird thing was the MySQL service was up and running and the cpanel PhpMyAdmin was still working and was able to work with the databases and sites were still running.
If you come up with the same error try the following:
1. Restart MySQL service
2. WHM -> SQL Services -> MySql Root Password -> Change the password.
If the above does not fix it try the following commands through ssh as root
# /scripts/checkperlmodules –full –force
# /scripts/upcp –force
That should do the trick :)