Knowledgebase: Linux Hosting (CPanel)
Prompted Warning: Too many connections for Linux Hosting
Posted by - NA - on 04 August 2010 12:20 PM

Unable to connect to database server


Warning: mysql_connect(): Too many connections in /home/xxxx/public_html/xxxx/xxx.php on line xxx


Your web hosting account has reached the maximum database concurrent connections limit


When your site has reached the maximum database concurrent connections you will see the error as above.

- for the old Windows/Linux Standard Hosting Plan (Limit of 20 Max. Database Concurrent Connection)

- for the new Windows/Linux Starter/Advanced Hosting plan (Limit of 45 Max. Database Concurrent Connection)

Please optimise your codes as to ensure each open database connection is closed after retrieval / update of database.

Additional Information

You may also consider to upgrade to our DIY Cloud Server / Bandwidth & Rackspace package that has no limit on the Maximum Database Concurrent Connection.

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).