SQL 错误消息: "Too many connections" SQL 语句: "mysql_connect('localhost', 'hsj') failed!" SQL 错误代码: "7335941".

错误原因:

您看到这个错误页面是因为应用程序抛出了没有捕获的异常。

异常的详细内容: exception 'flea_db_exception_sqlquery' with message 'SQL 错误消息: "Too many connections"
SQL 语句: "mysql_connect('localhost', 'hsj') failed!"
SQL 错误代码: "7335941".' in /var/www/html/hsj/home/FLEA/FLEA/Db/Exception/SqlQuery.php:55

#0 /var/www/html/hsj/home/FLEA/FLEA/Db/Driver/Mysql.php(161): flea_db_exception_sqlquery('mysql_connect('localhost',  ...', 'Too many connections', 1040)
#1 /var/www/html/hsj/home/FLEA/FLEA.php(559): connect()
#2 /var/www/html/hsj/home/FLEA/FLEA/Db/TableDataGateway.php(277): getdbo(array)
#3 /var/www/html/hsj/home/FLEA/FLEA.php(318): flea_db_tabledatagateway()
#4 /var/www/html/hsj/home/APP/Controller/mall.php(7): getsingleton('Model_ShopMD')
#5 /var/www/html/hsj/home/FLEA/FLEA/Dispatcher/Simple.php(113): controller_mall('mall')
#6 /var/www/html/hsj/home/FLEA/FLEA/Dispatcher/Simple.php(77): _executeaction('mall', 'clist', 'Controller_mall')
#7 /var/www/html/hsj/home/FLEA/FLEA.php(621): dispatching()
#8 /var/www/html/hsj/home/home.php(42): runmvc()
#9 {main}

Exception: flea_db_exception_sqlquery
Message: SQL 错误消息: "Too many connections" SQL 语句: "mysql_connect('localhost', 'hsj') failed!" SQL 错误代码: "7335941".


Filename: /var/www/html/hsj/home/FLEA/FLEA/Db/Driver/Mysql.php
#9 flea_db_exception_sqlquery::flea_db_exception_sqlquery('mysql_connect('localhost', ...', 'Too many connections', 1040)

Filename: /var/www/html/hsj/home/FLEA/FLEA.php
#8 flea_db_driver_mysql::connect()

Filename: /var/www/html/hsj/home/FLEA/FLEA/Db/TableDataGateway.php
#7 flea::getdbo(array(5))

Filename: /var/www/html/hsj/home/FLEA/FLEA.php
#6 model_shopmd::flea_db_tabledatagateway()

Filename: /var/www/html/hsj/home/APP/Controller/mall.php
#5 flea::getsingleton('Model_ShopMD')

Filename: /var/www/html/hsj/home/FLEA/FLEA/Dispatcher/Simple.php
#4 controller_mall::controller_mall('mall')

Filename: /var/www/html/hsj/home/FLEA/FLEA/Dispatcher/Simple.php
#3 flea_dispatcher_simple::_executeaction('mall', 'clist', 'Controller_mall')

Filename: /var/www/html/hsj/home/FLEA/FLEA.php
#2 flea_dispatcher_simple::dispatching()

Filename: /var/www/html/hsj/home/home.php
#1 flea::runmvc()