This topic is locked

Error: too many connections

11/8/2007 12:59:20 PM
PHPRunner General questions
L
laonian author

Need help with this error.
The PHPRunner-generated PHP applications have been running fine until yesterday when this error occured.
==============

PHP error happened
Technical information

Error type: 2

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

URL: www.mydomain.com/xxx/xxx_list.php?

Error file: web:/xxx/xxx/include/dbconnection.php

Error line: 9

=====================
Have asked the system administrator to restart the MySQL server but the errror retains. He also asked whether I have included mysql_close() scripts in each connection action. I simply check the dbconnection.php and it seems that the scripts are there (I have no knowledge about PHP). Could anybody give suggestions? Thanks.

Sergey Kornilov admin 11/8/2007

This needs to be fixed in MySQL itself. You either need to increase the maximum number of connections or move to another web hosting that don't have this problem.