Mysql – Too many connections

If you see the error "… To many connections…" while you are accessing your website, you can do the following ways:

1. In your mysql my must to run this:

Set Global max_connections=2000

I'm using phpMyAdmin and I executed

 

2. In your my.conf file (usually located in /etc) find the line that says:

[mysqld]

And somewhere below that set

max-connections=500

Or whatever numeric value you need.

More information here: https://dev.mysql.com/doc/refman/5.5/en/too-many-connections.html

Revisions

No comments yet.

Leave a Reply