:(

SQLSTATE[HY000] [1040] Too many connections

错误位置

FILE: /data/htdocs/hn/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /data/htdocs/hn/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /data/htdocs/hn/ThinkPHP/Library/Think/Db/Driver.class.php(1092): Think\Db\Driver->connect()
#2 /data/htdocs/hn/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /data/htdocs/hn/ThinkPHP/Library/Think/Model.class.php(142): Think\Db\Driver\Mysql->getFields('qs_subsite')
#4 /data/htdocs/hn/ThinkPHP/Library/Think/Model.class.php(129): Think\Model->flush()
#5 /data/htdocs/hn/ThinkPHP/Library/Think/Model.class.php(1757): Think\Model->_checkTableInfo()
#6 /data/htdocs/hn/ThinkPHP/Library/Think/Model.class.php(102): Think\Model->db(0, '', true)
#7 /data/htdocs/hn/ThinkPHP/Common/functions.php(666): Think\Model->__construct('Subsite')
#8 /data/htdocs/hn/Application/Common/Behavior/SubsiteBehavior.class.php(24): D('Subsite')
#9 /data/htdocs/hn/ThinkPHP/Library/Think/Hook.class.php(119): Common\Behavior\SubsiteBehavior->run(NULL)
#10 /data/htdocs/hn/ThinkPHP/Library/Think/Hook.class.php(89): Think\Hook::exec('Common\\Behavior...', 'app_begin', NULL)
#11 /data/htdocs/hn/ThinkPHP/Library/Think/App.class.php(197): Think\Hook::listen('app_begin')
#12 /data/htdocs/hn/ThinkPHP/Library/Think/Think.class.php(136): Think\App::run()
#13 /data/htdocs/hn/ThinkPHP/ThinkPHP.php(102): Think\Think::start()
#14 /data/htdocs/hn/index.php(42): require('/data/htdocs/hn...')
#15 {main}