Guides › WordPress › Site down or error screens

What Does 'Error Establishing a Database Connection' Mean?

WordPress stores everything in a database. This message means the site cannot reach it right now.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Site down or error page

WordPress keeps your posts, pages, settings and users in a database. Every page view asks that database for the content. When the database does not answer, WordPress cannot show anything, so it shows this message instead of your site.

1Reload after a minute or two2Check your host's status page3Take a backup from your host panel4Follow the full checklistFixed? Test the site. If not, get help.
The steps in order. Work down the list and stop when the problem is solved.

What it does not mean

The usual causes

  1. Wrong login details in wp-config.php, often after a password reset or a site move.
  2. The database server is down or overloaded. This often fixes itself within minutes, and it is more common on busy shared hosting.
  3. Damaged tables, sometimes after a crash or a failed update.
  4. The account hit a limit, such as disk space or database connections.

Step 1: Reload after a minute or two

Illustration for Step 1: Reload after a minute or two

Short database outages often clear by themselves.

Step 2: Check your host's status page

Illustration for Step 2: Check your host's status page

If the database server is down, wait for the host to fix it.

Step 3: Take a backup from your host panel

Illustration for Step 3: Take a backup from your host panel

Do this before you change anything.

Step 4: Follow the full checklist

Illustration for Step 4: Follow the full checklist

Our full checklist goes through the login details, the database and repairs in order.

Do not

Do not reinstall WordPress or delete the database before checking, because that can remove your content. Take a backup from your host panel first if you can.

Still stuck?

If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-22.