wp

Error establishing a database connection

The server encountered an unexpected condition that prevented it from fulfilling the request.

500 — Internal Server Error

There doesn't appear to be a working database connection. This can be caused by incorrect database credentials, a down database server, or corrupted tables.

If you're the site owner, check wp-config.php for proper DB_NAME, DB_USER, DB_PASSWORD and DB_HOST. Also verify the database server is reachable.

Try again

Quick checks
  • Is your database server running?
  • Have your credentials or hostname changed recently?
  • Server load or disk full? Check hosting control panel.
What this looks like to visitors

Visitors will see this error until the site owner resolves the issue. Plugins or themes won't load, and the admin dashboard will be inaccessible.

For developers
  1. Enable WP_DEBUG in wp-config.php to get more details.
  2. Check web server error logs (Apache / Nginx) and MySQL logs.
  3. Try connecting to the DB from the command line to validate credentials.
Request ID: #
WordPress — ----