Anúncios
The MySQL “Too many connections” error occurs when more queries are sent to a MySQL database than can be processed. The error can be fixed by setting a new number of maximum connections in the configuration file or globally.
Why does a website say too many connections?
If you receive the “Too many connections” error message regularly, one of two things might be happening: Your site is experiencing consistently high traffic and your database is being overloaded with connection attempts. If this is the case, your site and your business may have outgrown shared web hosting.
Anúncios
How do I clear the too many connections error in MySQL?
So, the proper way to fix this is: Directly connect to the MySQL server, and perform the query: SET GLOBAL max_connections = 1024; to change the connection limit at runtime (no downtime). Make your change permanent, and edit the /etc/my.
How do I check for too many connections in MySQL?
Anúncios