Knowledge base - Posts tagged with: defaults


MySQL: Fix bad connection error defaults

For whatever reason MySQL server software ships with really stupid defaults for handling problems with the incoming connections. Obviously, Zubrcom's intallation of MySQL does not suffer from this problem. However, if you have braved rolling your own installation it may be helpful to add the following lines in /etc/my.cnf:


[mysqld]
max_connections = 1100 # max number of clients if each client is non-threaded
max_connect_errors=99999999 # dont stop mysql before it gets this many connection errors.
max_user_connections = 1100 # max connections per user

If MySQL is already running, login into root account and use comand SET GLOBAL to change the variable setting without restarting MySQL.

Offer Spotlight

Colocation
Rapidcolo - Quarter Rack + 30M
Colocation service in 401 N. Broad St., Philadelphia

Space: 1/4 Standard 19" rack/cabinet
Power: 10A @ 110V
Network ports: 1x 10/100/1000 port
Bandwidth: 30 Mbit/sec, flat rate
Routing: Static or BGP-4

Other configurations available
$499.99
/ 30 days
Setup: $399.99