:(

SQLSTATE[08004] [1040] Too many connections

错误位置

FILE: D:\phpStudy\WWW\College\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 109

TRACE

#0 D:\phpStudy\WWW\College\ThinkPHP\Library\Think\Db\Driver.class.php(109): E('SQLSTATE[08004]...')
#1 D:\phpStudy\WWW\College\ThinkPHP\Library\Think\Db\Driver.class.php(1075): Think\Db\Driver->connect()
#2 D:\phpStudy\WWW\College\ThinkPHP\Library\Think\Db\Driver\Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 D:\phpStudy\WWW\College\ThinkPHP\Library\Think\Model.class.php(134): Think\Db\Driver\Mysql->getFields('qz_teacher')
#4 D:\phpStudy\WWW\College\ThinkPHP\Library\Think\Model.class.php(122): Think\Model->flush()
#5 D:\phpStudy\WWW\College\ThinkPHP\Library\Think\Model.class.php(1454): Think\Model->_checkTableInfo()
#6 D:\phpStudy\WWW\College\ThinkPHP\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#7 D:\phpStudy\WWW\College\ThinkPHP\Common\functions.php(621): Think\Model->__construct('Teacher', '', '')
#8 D:\phpStudy\WWW\College\College\Home\Controller\ShuiYuanController.class.php(171): M('Teacher')
#9 [internal function]: Home\Controller\ShuiYuanController->syxiaoyoudetails()
#10 D:\phpStudy\WWW\College\ThinkPHP\Library\Think\App.class.php(173): ReflectionMethod->invoke(Object(Home\Controller\ShuiYuanController))
#11 D:\phpStudy\WWW\College\ThinkPHP\Library\Think\App.class.php(110): Think\App::invokeAction(Object(Home\Controller\ShuiYuanController), 'syxiaoyoudetail...')
#12 D:\phpStudy\WWW\College\ThinkPHP\Library\Think\App.class.php(204): Think\App::exec()
#13 D:\phpStudy\WWW\College\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#14 D:\phpStudy\WWW\College\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#15 D:\phpStudy\WWW\College\index.php(24): require('D:\phpStudy\WWW...')
#16 {main}