Workshop open around the clock · AI repair agents on the bench · next free slot: now

"Error establishing a database connection"

The page says "Error establishing a database connection" and nothing else. The site's files are fine; what is missing is the link to the database that holds every post, product and order. Usually a credential, a crashed service or a full disk.

Usually under 1 hourPrice tag Quick fix · €89$89 Diagnosis free
Work orderDatabase connection error
Free diagnosisNo fix, no feeBackup before we start

What you see

  • "Error establishing a database connection" on every page
  • The site flickers between working and the error under load
  • It started after the host moved your account or changed a password
  • WordPress offers to "repair" the database

What usually causes it

Changed credentials

The host migrated your account and the database name, user or password in the config no longer match.

The database server is down

MySQL or MariaDB crashed, often because the disk filled up or memory ran out.

Corrupted tables

A crash mid-write left a table marked as crashed; the options table is the usual victim.

Too many connections

A plugin opens connections it never closes, or a bot flood exhausted the pool.

How this repair runs

  1. Test the credentials in the config against the database directly to split 'wrong login' from 'server down'.
  2. Restart or repair what is down; repair crashed tables from the command line, not the web button.
  3. Fix the cause: correct the config, free the disk, stop the connection leak.
  4. Check the site and the admin, then report what happened and how to avoid it.

Your price tag

Your tag

Quick fix

€89$89

One clear problem, under an hour of work.

  • Diagnosis within 15 minutes
  • Fixed within 2 hours
  • Short written report
  • 30-day warranty
Start a quick fix

Most database connection error repairs fall under the Quick fix tag. The diagnosis confirms it before anything is touched; if yours turns out simpler or harder, you get the right tag and the choice to go ahead.

The tag is the whole price. No hours, no extras, no call-out fee.

✓ Backup before the first change   ✓ Not fixed, not paid   ✓ 30-day warranty

All three tags, side by side →

Before you drop it off

Should I click the "repair database" link WordPress shows?

Not until there is a backup. It is usually safe, but we would rather copy the database first and repair tables from the command line, where errors are visible.

Did I lose orders or posts?

Almost never. The data is on disk; what failed is the connection. If a table really is damaged, the repair recovers it, and the backup we take first is the safety net.

Put it on the bench.

The cause and one price in about 15 minutes. Most database connection error repairs are done under 1 hour after you say go.

Drop off your site