:(

SQLSTATE[08004] [1040] Too many connections

错误位置

FILE: E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 109

TRACE

#0 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Db\Driver.class.php(109): E('SQLSTATE[08004]...')
#1 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Db\Driver.class.php(1059): Think\Db\Driver->connect()
#2 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Db\Driver\Mysql.class.php(50): Think\Db\Driver->initConnect(true)
#3 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Model.class.php(134): Think\Db\Driver\Mysql->getFields('db_product')
#4 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Model.class.php(122): Think\Model->flush()
#5 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Model.class.php(1429): Think\Model->_checkTableInfo()
#6 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#7 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Common\functions.php(619): Think\Model->__construct('product', '', '')
#8 E:\phpstudy2021\WWW\web\cimim\Application\Home\Controller\PController.class.php(71): M('product')
#9 [internal function]: Home\Controller\PController->content('102')
#10 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\App.class.php(162): ReflectionMethod->invokeArgs(Object(Home\Controller\PController), Array)
#11 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#12 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Think.class.php(121): Think\App::run()
#13 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#14 E:\phpstudy2021\WWW\web\cimim\index.php(24): require('E:\\phpstudy2021...')
#15 {main}