1. The first thing that you need to verify that MySQL server running fine or not. If it's not running see the error log in
/var/lib/mysql/hostname.err
You will get the error from there. Fix the error and start the MySQL instant.
2. Sometime you will see this error even after successful restart of MySQL server. You need to make sure the error is not there for all sites. If it's only for one domain, then it's due to one particular database connection string.
You need to make sure the database user has enough permission over the database. Also update the password of the database user from WHM >> SQL user password reset
option as per the site's configuration file.
This will fix the issue
3. If everything updated correctly and the error still appears then, please see if that database is corrupted or not. You can check this by taking a backup of the database using mysqldump. If it's showing any error for any table fix the table and the error will disappear.
In some WP site, WP-super cache plugin caused some caching issue. So consider the cache settings too, while handling WP sites.
/var/lib/mysql/hostname.err
You will get the error from there. Fix the error and start the MySQL instant.
2. Sometime you will see this error even after successful restart of MySQL server. You need to make sure the error is not there for all sites. If it's only for one domain, then it's due to one particular database connection string.
You need to make sure the database user has enough permission over the database. Also update the password of the database user from WHM >> SQL user password reset
option as per the site's configuration file.
This will fix the issue
3. If everything updated correctly and the error still appears then, please see if that database is corrupted or not. You can check this by taking a backup of the database using mysqldump. If it's showing any error for any table fix the table and the error will disappear.
In some WP site, WP-super cache plugin caused some caching issue. So consider the cache settings too, while handling WP sites.