Getting lots of "error establishing database connection" errors

I’m intermittedly getting this error on our VPS, though I don’t think our MYSQL server is on the VPS.

We’re using WordPress, and I updated everything, but we still get the error at least once per day, and it lasts about 30 minutes, then resets.

Nothing has changed on our end, but we started getting the error around November 11. We ran the same website for years without ever seeing that error, and now we get it daily.

Is there any way to programatically fix the error? If so I could make a script that detects the error and runs that fix.

The error affects all our DB stuff, not just WordPress. It’s driving me pretty nuts.

Let me know if any other info would be useful.

Sounds like you’re using a shared MySQL server, so you might want to check with DH Support to see if they can see the errors on the MySQL server side.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.