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