XAF Log in

"Error establishing a database connection"

Updated on 08/10/2026

The website cannot connect to its database.

  1. Check the configuration file (wp-config.php for WordPress): database name, user, password and host (localhost).
  2. Check in cPanel that the user is assigned to the database with all privileges.
  3. If the details are correct, the database may be damaged: phpMyAdmin › database › Repair table, or open a ticket.
Still having the problem?

Test your domain with our diagnostic tools or open a ticket: our team will check your account.

Was this article helpful?
Contact support