PDA

View Full Version : MYSQL Connections


Maxman1544
08-07-2008, 03:55 PM
I moved to a new server recently (3.4 ghz P4 with 3 gigs of RAM). We were getting this error:

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

I read this: http://dev.mysql.com/doc/refman/5.0/en/too-many-connections.html and then we bumped the # of connections from 100 to 250. But I am still getting the error, we have a lot of people on the site right now.

I am going to change it to 500. But I wanted feedback on what other people with lots of visitors have it set to? Any downside to setting it to 1,000?

Thanks!

Opserty
08-07-2008, 04:51 PM
<a href="http://www.vbulletin.com/docs/html/troubleshoot_mysql_errors" target="_blank">Common MySQL Error Messages</a>