Error establishing a database connection
I am running a wordpress website on Ubuntu 12.04, everything looks fine but sometimes i get out of the blue: Error establishing a database connection.
When i restart the server with “reboot” in putty, everything seems fine.
So it seems like the mysql server crashes or something....
Can someone help me with this, it is really frustrating that i have to reboot it once or twice a day.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.