Log in

View Full Version : Database error in vBulletin


UKBusinessLive
11-01-2008, 12:58 PM
Hi Guys,

just got back from work and found 63 database errors in my emails, when i tried to log into my admincp it came up database error, the only way i could get the forums back way by uploading a backup.

All seems well, I also deleted my laste member and banned his IP as it was from China and i think they must of had something to do with it.

What does it mean "Too many connections"


Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections
/home/ukbusin1/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Saturday, November 1st 2008 @ 11:44:28 AM
Error Date : Saturday, November 1st 2008 @ 11:44:28 AM
Script : http://www.ukbusinesslive.co.uk/forum/
Referrer :
IP Address : *.*.*.12 (Edited my IP)
Username :
Classname : vB_Database
MySQL Version

Thanks in advance :o

Dismounted
11-01-2008, 01:25 PM
<a href="http://www.vbulletin.com/docs/html/troubleshoot_mysql_errors" target="_blank">Common MySQL Error Messages</a>

UKBusinessLive
11-01-2008, 01:29 PM
Common MySQL Error Messages (http://www.vbulletin.com/docs/html/troubleshoot_mysql_errors)

Thanks buddy, learnt a bit about MySQL and put my mind at rest at the same time.

So for anyone that has had the above message in an email then heres the answer

mysql_connect(): Too many connections

The server has maxed out the number of MySQL connections it allows. You can try turning persistent connections off by adding this to your config.php:

$config['MasterServer']['usepconnect'] = 0;


Your config.php file is in your Includes Directory, Put the above at the end, its working fine for me :D

Thanks again :D