Error establishing a database connection" (No changes made) - Account tvarkairprieziura.lt

Website URL

www.tvarkairprieziura.lt

Error Message

Hello,

My website tvarkairprieziura.lt suddenly started showing an “Error establishing a database connection” message today.

Everything was working perfectly a few hours ago. I have not made any changes to the files, wp-config.php, or database passwords. I was not even logged into the control panel when this happened.

I checked my Client Area:

My account status is “Active”.

My resource usage limits (CPU, RAM, Inodes) are completely fine and nowhere near the limits.

Interestingly, the resource usage graphs (like “Daily Hits Usage”) in the dashboard are currently not loading properly and the text is overlapping.

Could this be a temporary outage or overload on the specific database node my account is hosted on? Will this be resolved automatically?

Thank you for your time and assistance!

That’s the error that WordPress gives when it cannot connect to the database. However, it (deliberately) doesn’t give any information why. Getting that information is the first step. We have an article that covers this specific error:

However, I can tell you with absolute certainty that it’s not caused by your account being suspended (then your website would be unreachable entirely, not just report a database error) or your account hitting resource limits (it would also make your website unreachable, and database limits do exist but cannot be graphed in the panel).

Server overloading could potentially be the cause. But without more information, so could thousands of other things. So let’s try to narrow down the cause first before jumping to conclusions.