Server Error in '/cms' Application


2: mysql_connect() [function.mysql-connect]: Too many connections

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Source Error:

Line 29:   	/** Creates a class for mysql database access */
Line 30:   	function da()
Line 31:   	{
Line 32:   		if (CONFIG_ProfileSQL) { lib_Profile("Connect", true); }
Line 33:   
Line 34:   		$this->m_link = mysql_connect(DSN_Host, DSN_UserName, DSN_Password) or trigger_error(mysql_error());
Line 35:   		mysql_select_db(DSN_DBName) or trigger_error(mysql_error());
Line 36:   
Line 37:   		if (CONFIG_ProfileSQL) { lib_Profile("Done"); }
Line 38:   	}
Line 39:     

Stack Trace:

lib_ErrorHandler(2, 'mysql_connect() [function.mysql-connect]: Too many connections', '/export/home/flathead/propus/webs/www.goole-action-group.org.uk/php/common/da.class.php', 34, Array
(
)
)
mysql_connect('mysql4db-1.gradwell.net', 'propus_live', '*****') in /export/home/flathead/propus/webs/www.goole-action-group.org.uk/php/common/da.class.php line 34
da->da() in /export/home/flathead/propus/webs/www.goole-action-group.org.uk/php/common/session.class.php line 42
Session->Session() in /export/home/flathead/propus/webs/www.goole-action-group.org.uk/htdocs/cms/main.php line 14

Request Details:

Array
(
    [k] => 121
)

Server Details:

Array
(
    [SCRIPT_URL] => /cms/main.php
    [SCRIPT_URI] => http://www.goole-action-group.org.uk/cms/main.php
    [HTTP_HOST] => www.goole-action-group.org.uk
    [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
    [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
    [HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [HTTP_X_FORWARDED_FOR] => 54.226.18.74
    [PATH] => /usr/local/bin:/usr/bin:/bin
    [SERVER_SIGNATURE] => 
    [SERVER_SOFTWARE] => Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny16 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0
    [SERVER_NAME] => www.goole-action-group.org.uk
    [SERVER_ADDR] => 212.11.72.73
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 54.226.18.74
    [DOCUMENT_ROOT] => /home/propus/webs/www.goole-action-group.org.uk/htdocs/
    [SERVER_ADMIN] => stuart.worswick@tiscali.co.uk
    [SCRIPT_FILENAME] => /home/propus/webs/www.goole-action-group.org.uk/htdocs/cms/main.php
    [REMOTE_PORT] => 40245
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.0
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => k=121
    [REQUEST_URI] => /cms/main.php?k=121
    [SCRIPT_NAME] => /cms/main.php
    [PHP_SELF] => /cms/main.php
    [REQUEST_TIME] => 1409299273
    [argv] => Array
        (
            [0] => k=121
        )

    [argc] => 1
)