A Previously Fine Website Now Says: "Error establishing a database connection"
-
I run a Debian server and use the Plesk Panel to create and manage the server, including various WordPress-based websites. However, my background is with Windows servers, so sometimes need a little help when using Linux.
Literally once every few months, the server crashes and all the websites (& other services) go down. At this point, I don’t seem able to log in, and there is some message repeatedly shown on the console, although most helpfully, I can’t remember what it says.
Anyway, this happened last night, & I restarted the server, as that is the only thing I can do since I can’t seem to log in. I tested a couple of the sites, & all seemed well.
However, this morning, once of my clients has called to point out that his website is down, needless to say, not one of those I checked.
When trying to access the website, you get this message:
Error establishing a database connection
And if you try to access the database through the Plesk panel & WebAdmin, you get a Permission Denied message.
So I don’t know where to start, or what to do.
I do have a few backup databases, one of which I made the this morning (since this problem, so it may not be okay), but I can’t even see how I can switch from one database to another.
Help! What should I do?
Thanks,
Paul
- The topic ‘A Previously Fine Website Now Says: "Error establishing a database connection"’ is closed to new replies.