Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

MySQL Connections error

Jul 21, 2012 by Alpha2
Hello,

I usually encounter the same error on my website regarding Too many connections.  I think there is some constraint that is set on the production server.

/etc/my.cnf/
Max_connection=’xyz’
Max_user_connection=’xx’

What does this mean? And how can I prevent it?

Thanks for reading

2 Answers

0 votes
Jul 21, 2012 by FixHost
max_connections  means  the maximum  number of permitted simultaneous client connections at one time
max_user_connections means the maximum number of connections  permitted  simultaneously to any of  MySQL user account
0 votes
Jul 21, 2012 by SmartHost
To prevent this, change the number in the max connection option