Guides › HTML / PHP sites › Site down or error screens

MySQL Error: Too Many Connections or Server Has Gone Away

Database limits or timeouts break pages under load. Find what holds connections.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.

Too many connections

Server has gone away

Also check

Disk space and database repair. See Repair and Optimize the WordPress Database (Corrupted Tables) and PHP Database Connection Errors (mysqli and PDO): Access Denied, Unknown Database, Connection Refused.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-21.