"Error establishing a database connection"
Updated on 08/10/2026
The website cannot connect to its database.
- Check the configuration file (
wp-config.phpfor WordPress): database name, user, password and host (localhost). - Check in cPanel that the user is assigned to the database with all privileges.
- If the details are correct, the database may be damaged: phpMyAdmin › database › Repair table, or open a ticket.
Was this article helpful?
Contact support
