I have a vBulletin forum in a website. I frequently receive the following email report:
Database error in vBulletin :
mysql_connect(): Too many connections
/home/user/public_html/forum/includes/class_core.php on line 317
MySQL Error :
Error Number :
Request Date : Saturday, October 31nd 2015 @ 05:10:52 PM
Error Date : Saturday, October 31nd 2015 @ 05:11:19 PM
Script : http://mywebsite.com/forum/member.php?xxxxxxxxxxxxxxxxx
IP Address : xx.xx.xx.xxx
Classname : vB_Database
MySQL Version :
How can I fix this?
The issue is related to “Too many connections”. It seems that you have exceed mysql connection limit on the server. If you have root access of your server, you can edit mysql configuration file to increase mysql connection limit. Make sure you restart mysql service after editing mysql configuration file.
max_connections = 250
Set the appropriate limit.