In some MySQL configurations, you may find that connections to databases continuously timeout and correspond to the following entries in the MySQL error log:
[Warning] Aborted connection to db: 'username_site' user: 'username_site' host: 'localhost' (Got timeout reading communication packets)
In some cases, this could be caused by the value set for the following setting in ones configuration ( /etc/my.cnf ):
In the above case, connections would timeout every 30 seconds.
Refer to the MySQL documentation for wait_timeout to ensure it's set in accordance with your needs.