You are viewing an old revision of this post, from January 28, 2017 @ 23:22:19. See below for differences between this version and the current revision.

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

Revision Differences

There are no differences between the January 28, 2017 @ 23:22:19 revision and the current revision. (Maybe only post meta information was changed.)

No comments yet.

Leave a Reply