Why do I get a max_user_connections error? Updated on August 26, 2011 by Brad Markle 0 Minutes, 40 Seconds to Read The max number of simultaneous connections to your MySQL database is 20. This normally is not a problem because MySQL connections are made and destroyed within a fraction of a second. If you are getting a max_user_connections error: Your code is opening the connection to the database, but not closing it. Please see the following link for more help with properly opening and closing your database connections –https://w3schools.com/php/php_mysql_connect.asp Your software is configured to use pconnect / Persistent Connections. Please read the documentation for your software to find out how to disable pconnect. Most of the time, the problem is due to the second scenario, using pconnect, because most php applications being ran on the server are open source projects rather then custom code that users have written. Share this Article Related Articles MySQL Error 1064: You Have an Error in Your SQL Syntax MySQL Error 1044 Access Denied Troubleshooting: Fixing the “localhost Refused to Connect” Error HTTP Error Codes: What They Mean and How to Fix Them How to Fix the 504 Gateway Timeout Error 500 Internal Server Error How to Fix the Insecure SSL Error due to SHA-1 Deprecation How to Fix the “550 No Such User Here” Email Error Email Error – Mailbox Quota Exceeded Resolving DNS_PROBE_FINISHED_NXDOMAIN Errors