PDA

View Full Version : db error..?


Gamelobby
11-08-2010, 08:09 PM
Having issues.. im thinking something is connected to an old db.!?


I got the error again.. here is what it said.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title> Database Error</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="ROBOTS" content="NOINDEX,NOFOLLOW,NOARCHIVE" />
<style type="text/css">
<!--
body { background-color: white; color: black; }
#container { width: 400px; }
#message { width: 400px; color: black; background-color: #FFFFCC; }
#bodytitle { font: 13pt/15pt verdana, arial, sans-serif; height: 35px; vertical-align: top; }
.bodytext { font: 8pt/11pt verdana, arial, sans-serif; }
a:link { font: 8pt/11pt verdana, arial, sans-serif; color: red; }
a:visited { font: 8pt/11pt verdana, arial, sans-serif; color: #4e4e4e; }
-->
</style>
</head>
<body>
<table cellpadding="3" cellspacing="5" id="container">
<tr>
<td><img src="./image.php?type=dberror" alt="Database Error" width="48" height="48" /></td>
<td id="bodytitle" width="100%">Database error</td>
</tr>
<tr>
<td class="bodytext" colspan="2">The database has encountered a problem.</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td class="bodytext" colspan="2">
Please try the following:
<ul>
<li>Load the page again by clicking the <a href="#" onclick="window.location = window.location;">Refresh</a> button in your web browser.</li>
<li>Open the <a href="/">www.gamelobby.com</a> home page, then try to open another page.</li>
<li>Click the <a href="javascript:history.back(1)">Back</a> button to try another link.</li>
</ul>
</td>
</tr>
<tr>
<td class="bodytext" colspan="2">The www.gamelobby.com forum technical staff have been notified of the error, though you may <a href="mailto:Info@Gamelobby.com">contact them</a> if the problem persists.</td>
</tr>
<tr>
<td class="bodytext" colspan="2">&nbsp;<br />We apologise for any inconvenience.</td>
</tr>
</table>


<!--
Database error in vBulletin :

mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: Too many connections
/home/content/m/i/l/milo327/html/Forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Monday, November 8th 2010 @ 01:05:46 PM
Error Date : Monday, November 8th 2010 @ 01:05:46 PM
Script : http://www.gamelobby.com/Forum/cmps_index
Referrer : http://www.gamelobby.com/
IP Address : 108.13.48.18
Username :
Classname : vB_Database
MySQL Version :
-->


</body>
</html>


--------------- Added 1289254025 at 1289254025 ---------------

latest error code..


mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: Too many connections
/home/content/m/i/l/milo327/html/Forum/includes/class_core.php on line 311

Lynne
11-08-2010, 10:53 PM
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 the problem you will have to talk to your host about raising that limit. Also, see this Common MySQL Error Messages (http://www.vbulletin.com/docs/html/troubleshoot_mysql_errors)

Gamelobby
11-10-2010, 05:41 PM
Here is their reply..
Thank you for contacting Online Support.

Our Web Hosting accounts limit the maximum number of connections at one time.

Linux limits:
?Linux Economy: 50 connections


Database Connections:
We allow up to 200 simultaneous MySQL Database connections per MySQL user.
We allow up to 100 simultaneous MS SQL Database connections per MS SQL user.

Lynne
11-11-2010, 02:45 PM
OK. There isn't anything I can do about what their limits are or the fact they aren't willing to change them.

Gamelobby
11-11-2010, 06:40 PM
So is it the 100/200 MySQL that aren't enough or the 50 that isn't enough.?

Thanks

Lynne
11-11-2010, 08:11 PM
max_connections is a mysql variable.

Gamelobby
11-23-2010, 10:54 PM
So i guess i need them to up it again eh..?

I just reenabled a few mods, maybe that is causing it too, but i should be able to use my mods. lol

Database error in vBulletin :

mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: Too many connections
/home/content/m/i/l/milo327/html/Forum/includes/class_core.php on line 311