Has anyone seen this error before

flukebuzzsaw

Member
Jun 10, 2005
6
0
151
Warning: mysql_connect(): User *******has already more than 'max_user_connections' active connections in ../database.php on line 6
Unable to connect!
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
This error means that a script requires persistent and high number of sql connections. OSCommerce and some other Php applications are very well known to produce/cause such a problem. You'll need to do the following: restart the MySQL service to clear out the connections, disable the application and/or increase the number of connections in the conf file. For example, in OSCommerce config file change from true to false:

before
define('USE_PCONNECT', 'true');
after
define('USE_PCONNECT', 'false');

If you're dealing with a different application, just see if you can modify the "connection" in the conf file.