The site cannot reach its database.
WHAT IT MEANS
The application cannot connect to the database.
THE MOST COMMON CAUSE
Wrong credentials in the configuration file.
Particularly after a migration.
THE CPANEL PREFIX POINT
Database and user names are prefixed with the cPanel username.
A configuration file carried from another host will have the old prefix.
That is the single most common cause of this error after migrating.
WHAT TO CHECK
The database name, username and password in the configuration file That the database exists in cPanel That the user is assigned to it with privileges That the host is correct, usually localhost
HOW TO VERIFY
Open the database in phpMyAdmin.
If it exists and has tables, the database is fine and the credentials are wrong.
OTHER CAUSES
The database server unavailable A corrupted table Resource limits
FOR A CORRUPTED TABLE
Repair it through phpMyAdmin.
WHAT TO DO IF CREDENTIALS ARE CORRECT
Open a ticket.