Friday, November 4, 2011

Error too many connection in mysql

Default connection for mysql for client is maximum 100.

When connection exceed from 100, it will not accept another connection. In this case mysql throw error of too many connections. And to increase the limit of connections.

You need to do setting for attribute max_connections  increase the connection limit.
Linux:

/etc/my.cnf

max_connections=250

or whatever you want the limit

 

0 comments:

Post a Comment