Originally Posted by Ronniea
I have setup a multiserver setup with Ubuntu 12.04 and the perfect server guide. (Apache and MySQL 5.5)
After the setup it works great but sometimes my websites with a database give my a error. Webserver and Database server are different servers.
Database Error: Unable to connect to the database:Could not connect to MySQL.
Websites without a database running fine.
When i get the error message, i can ping form the webserver to the DB server and from the DB server to webserver. I think it is a problem with MySQL. I have also start al over again with a clean installation but i get the same problem. With older versions (Ubuntu 10.04 perfect server setup) it runs without a problem.
I hope that someone can help my.
Yes, it looks like your MySQL is crashing for some reason. Is it running when the crash occurs? Is there something in the logfiles which may indicate what happend and when? Was the server overloaded and out of resources?
If you want to get help please provide us with as much information as possible.