:-O
Database connect error: SQLSTATE[HY000] [1040] Too many connections code: 1040
File:
File:/data/wwwroot/zhanqun_article/coolphp/Connection.php Line:129
Trace
Exception: Database connect error: SQLSTATE[HY000] [1040] Too many connections code: 1040 in /data/wwwroot/zhanqun_article/coolphp/Connection.php:129
Stack trace:
#0 /data/wwwroot/zhanqun_article/coolphp/Connection.php(79): Cool\Connection::connect(Array, Array)
#1 /data/wwwroot/zhanqun_article/coolphp/Model.php(83): Cool\Connection::instance(Array, Array)
#2 /data/wwwroot/zhanqun_article/coolphp/Model.php(53): Cool\Model->connect('mysql', 'default', Array)
#3 /data/wwwroot/zhanqun_article/coolphp/Model.php(65): Cool\Model->__construct()
#4 /data/wwwroot/zhanqun_article/coolphp/Model.php(146): Cool\Model::instance()
#5 /data/wwwroot/zhanqun_article/app/Model/Spider.php(52): Cool\Model::where('today', '20240622')
#6 /data/wwwroot/zhanqun_article/coolphp/Support/Helper.php(1527): App\Model\Spider::isSpider(5)
#7 /data/wwwroot/zhanqun_article/app/Controller/Www/InitController.php(15): isSpider()
#8 [internal function]: App\Controller\Www\InitController->__construct()
#9 /data/wwwroot/zhanqun_article/coolphp/Container.php(166): ReflectionClass->newInstanceArgs(Array)
#10 /data/wwwroot/zhanqun_article/coolphp/Container.php(128): Cool\Container->build('App\\Controller\\...', Array)
#11 /data/wwwroot/zhanqun_article/coolphp/App.php(19): Cool\Container->get('App\\Controller\\...')
#12 /data/wwwroot/zhanqun_article/public/poxiaoshuo.com/index.php(4): Cool\App::run()
#13 {main}