:(

SQLSTATE[08004] [1040] Too many connections

错误地位

FILE: /var/www/html/zb/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /var/www/html/zb/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[08004]...')
#1 /var/www/html/zb/ThinkPHP/Library/Think/Db/Driver.class.php(1075): Think\Db\Driver->connect()
#2 /var/www/html/zb/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /var/www/html/zb/ThinkPHP/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('zb_article')
#4 /var/www/html/zb/ThinkPHP/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /var/www/html/zb/ThinkPHP/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /var/www/html/zb/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /var/www/html/zb/ThinkPHP/Common/functions.php(621): Think\Model->__construct('Article', '', '')
#8 /var/www/html/zb/Web/Home/Controller/ArticleController.class.php(7): M('Article')
#9 [internal function]: Home\Controller\ArticleController->detail()
#10 /var/www/html/zb/ThinkPHP/Library/Think/App.class.php(173): ReflectionMethod->invoke(Object(Home\Controller\ArticleController))
#11 /var/www/html/zb/ThinkPHP/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Home\Controller\ArticleController), 'detail')
#12 /var/www/html/zb/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#13 /var/www/html/zb/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#14 /var/www/html/zb/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#15 /var/www/html/zb/index.php(15): require('/var/www/html/z...')
#16 {main}