Warning: mysql_connect() [function.mysql-connect]: User already has more than ‘max_user_connections’ active connections in

 Home / Linux / Warning: mysql_connect() [function.mysql-connect]: User already has more than ‘max_user_connections’ active connections in
04Mar, 2011
11

Warning: mysql_connect() [function.mysql-connect]: User already has more than ‘max_user_connections’ active connections in

Here are the steps.

Login to your server.

# vi /etc/mysql/my.cnf

Then add these lines in the config line.

max_connections = 100
max_user_connections = 10000

Save and exit from the configuration file and restart mysql using this command.

/etc/init.d/mysql restart
OR
/etc/init.d/mysqld restart


About The Author

Read more