:(

SQLSTATE[HY000] [1040] Too many connections

错误位置

FILE: /www/wwwroot/0358rc/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /www/wwwroot/0358rc/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /www/wwwroot/0358rc/ThinkPHP/Library/Think/Db/Driver.class.php(1092): Think\Db\Driver->connect()
#2 /www/wwwroot/0358rc/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /www/wwwroot/0358rc/ThinkPHP/Library/Think/Model.class.php(135): Think\Db\Driver\Mysql->getFields('qs_promotion')
#4 /www/wwwroot/0358rc/ThinkPHP/Library/Think/Model.class.php(123): Think\Model->flush()
#5 /www/wwwroot/0358rc/ThinkPHP/Library/Think/Model.class.php(1512): Think\Model->_checkTableInfo()
#6 /www/wwwroot/0358rc/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /www/wwwroot/0358rc/ThinkPHP/Common/functions.php(599): Think\Model->__construct('Promotion')
#8 /www/wwwroot/0358rc/Application/Common/Cron/ClearPromotion.class.php(17): D('Promotion')
#9 /www/wwwroot/0358rc/Application/Common/Behavior/CronRunBehavior.class.php(45): ClearPromotion->run()
#10 /www/wwwroot/0358rc/ThinkPHP/Library/Think/Hook.class.php(119): Common\Behavior\CronRunBehavior->run(NULL)
#11 /www/wwwroot/0358rc/ThinkPHP/Library/Think/Hook.class.php(89): Think\Hook::exec('Common\\Behavior...', 'app_begin', NULL)
#12 /www/wwwroot/0358rc/ThinkPHP/Library/Think/App.class.php(199): Think\Hook::listen('app_begin')
#13 /www/wwwroot/0358rc/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#14 /www/wwwroot/0358rc/ThinkPHP/ThinkPHP.php(102): Think\Think::start()
#15 /www/wwwroot/0358rc/index.php(48): require('/www/wwwroot/03...')
#16 {main}