Log in

View Full Version : Database error (need help)


geevest.com
05-29-2008, 08:56 AM
I get email from database :

Database error in vBulletin :

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

MySQL Error :
Error Number :
Request Date : Thursday, May 29th 2008 @ 05:11:36 AM
Error Date : Thursday, May 29th 2008 @ 05:11:36 AM
Script : http://namedomain/forum/showthread.php?t=9359
Referrer : http://namedomain/forum/gak-bugil/index2.html
IP Address : 219.73.123.134
Username :
Classname : vB_Database
MySQL Version :

75 inbox all the messages is same error.

Marco van Herwaarden
05-29-2008, 09:03 AM
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;

But if you still have problems after that, you will need ask your host to raise the maximum number of connections they allow.

Here is more info on that error: http://dev.mysql.com/doc/refman/5.0/en/too-many-connections.html

geevest.com
05-29-2008, 09:14 AM
i see in my config.php
$config['MasterServer']['usepconnect'] = 0;
so i must change the number or what?
i take dedicated server for this.

Dismounted
05-29-2008, 09:37 AM
That means it is off, and as Marco has mentioned, you will need to ask your host to raise the maximum number of connections they allow.

geevest.com
05-29-2008, 03:37 PM
Its because my visit connection / inactive user reminder emails or what?
i have 15k members.

Dismounted
05-30-2008, 06:53 AM
It means there are too many people accessing the database, ie. many visitors.

geevest.com
05-30-2008, 12:53 PM
so the visitor visit my site was limited if i change the settingS?

Dismounted
05-31-2008, 11:48 AM
I do not understand your English. The error says that too many people are accessing the database at the same time.