0

On days when my site gets a lot of traffic, I get this error message...

Warning: mysql_connect() [function.mysql-connect]: User OH_admin already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\ourhometown.ca\httpdocs\includes\all.oh.front.inc.php on line 3
User OH_admin already has more than 'max_user_connections' active connections

Can someone point me in the direction in how to solve this....thanks.

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by pritaeas
1

Always mysql_close() your connections when you're done. If you don't they will remain idle for 180 seconds (default).

Edited by pritaeas: n/a

Votes + Comments
Thank you!
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.