Skip to content
Check websiteCheck
EN

The website shows a database connection error

The database message does not indicate a single cause. Check what questions to ask the hosting provider and what data to prepare for WordPress repair.

Guide · Crashes and updates · content review: October 20, 2026

Start here

The first step

Start by checking your hosting messages. If the provider confirms a database failure or lockout, this information determines the next step. If not, write down the recent configuration changes and the exact error text.

WordPress needs a connection to the database for normal operation. If it doesn't get it, it may show a message instead of content. The owner sees one symptom, although the problem may lie in several places.

It is useful to separate services: website, database and e-mail may work differently within one account. A working mailbox does not confirm that the website database is available.

Similar symptom. Various reasons.

Does the provider acknowledge the service issue?
Server failure or account limit requires information from the hosting company. Plug-in changes may then be unrelated to the cause.
Have you changed hosting, password or database settings?
This is an important setup clue. You do not need to send your login details in your application. All you need is information about what change occurred and when.
Does the error occur constantly?
Appearing only at certain times requires evidence other than permanent unavailability. Note the timing of several observations if you already have them.

Without changing files and settings

What you can check yourself

  1. Record the exact content of the message, date and time.
  2. Check your hosting provider's messages or ticket status if you have them.
  3. Note the last migration or change to settings.
  4. Determine if your hosting account and copies are available.

Ready question for hosting

Complete what you know. “I don't know” is also an answer. You can copy the text or save it as a file.

This field does not send anything. Don't enter passwords, recovery codes or customer details. After refreshing, your changes may disappear.

What solutions make sense

The connection settings, database availability and data status remain to be checked. The contractor should base the change on the specific error and the supplier's response, rather than replacing all elements of the page one by one.

If a restore is needed, please confirm the backup date and newer data first. After remediation, the relevant content and the features that use it are checked.

After the work is done

This is how you will know that the topic is proven

  • The page downloads the right content.
  • The established pages and functions using the database were checked.
  • The state of the data after possible restoration is known.
  • Do you know if there are any remaining restrictions on the hosting side.

Prepare a description for reporting

Complete what you know. “I don't know” is also an answer. You can copy the text or save it as a file.

This field does not send anything. Don't enter passwords, recovery codes or customer details. After refreshing, your changes may disappear.

Would you like to pass the matter on?

To start with, all you need is an address, a symptom and the moment you noticed it. We will arrange the rest if necessary.

Report this problem ↗

The form will open with the topic of this guide. Paste your observations. Sending an inquiry is free of charge.

Technical basis

The guide helps you sort out the symptom. It is not a diagnosis of your installation. The details depend on the tool used and its version.