MySQL problem - Sometimes cann't connect to MySQL
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.