蜗牛扑克allne

[1040] PDOException in Connection.phphtml line 528

SQLSTATE[HY000] [1040] Too many connections

  1. try {
  2. if (empty($config['dsn'])) {
  3. $config['dsn'] = $this->parseDsn($config);
  4. }
  5. if ($config['debug']) {
  6. $startTime = microtime(true);
  7. }
  8. $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);
  9. if ($config['debug']) {
  10. // 记录数据库连接信息
  11. $this->log('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn']);
  12. }
  13. return $this->links[$linkNum];
  14. } catch (\PDOException $e) {
  15. if ($autoConnection) {

Call Stack

  1. in Connection.phphtml line 528
  2. at PDO->__construct('mysql:host=127.0.0.1...', 'www_yh596_com', 'jSrRf5mNhDzFYNWn', [0, 2, 0, ...]) in Connection.phphtml line 528
  3. at Connection->connect() in Connection.phphtml line 2022
  4. at Connection->initConnect(false) in Connection.phphtml line 644
  5. at Connection->query('SHOW COLUMNS FROM `y...', [], false, true) in Mysql.phphtml line 90
  6. at Mysql->getFields('`yh_city`') in Connection.phphtml line 377
  7. at Connection->getTableInfo('yh_city', 'bind') in Connection.phphtml line 454
  8. at Connection->getFieldsBind('yh_city') in Builder.phphtml line 292
  9. at Builder->buildWhere(object(Query), ['AND' => [['depth', '=', 1]]]) in Builder.phphtml line 264
  10. at Builder->parseWhere(object(Query), ['AND' => [['depth', '=', 1]]]) in Builder.phphtml line 991
  11. at Builder->select(object(Query)) in Connection.phphtml line 908
  12. at Connection->select(object(Query)) in Query.phphtml line 3006
  13. at Query->select() in Base.phphtml line 21
  14. at Base->__construct()
  15. at ReflectionClass->newInstanceArgs([]) in Container.phphtml line 439
  16. at Container->invokeClass('app\home\controller\...', []) in Container.phphtml line 284
  17. at Container->make('app\home\controller\...', []) in App.phphtml line 725
  18. at App->controller('Zone', 'controller', false, 'Error') in Module.phphtml line 95
  19. at Module->exec() in Dispatch.phphtml line 168
  20. at Dispatch->run() in App.phphtml line 432
  21. at App->think\{closure}(object(Request), object(Closure), null)
  22. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.phphtml line 185
  23. at Middleware->think\{closure}(object(Request))
  24. at call_user_func(object(Closure), object(Request)) in Middleware.phphtml line 130
  25. at Middleware->dispatch(object(Request)) in App.phphtml line 435
  26. at App->run() in index.phphtml line 19

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_EAGLEEYE_RPCID 0.1
HTTP_ACCEPT */*
HTTP_EAGLEEYE_TRACEID 2760775116064684178245947e5810
HTTP_X_FORWARDED_CLUSTER waf,
HTTP_X_FORWARDED_PROTO http
HTTP_X_FORWARDED_FOR 172.120.114.119
HTTP_WL_PROXY_CLIENT_IP 172.120.114.119
HTTP_WEB_SERVER_TYPE nginx
HTTP_X_REAL_IP 172.120.114.119
HTTP_X_TRUE_IP 172.120.114.119
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_HOST www.bdqfx.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.bdqfx.com
SERVER_PORT 80
SERVER_ADDR 172.26.193.191
REMOTE_PORT 14698
REMOTE_ADDR 39.96.119.81
SERVER_SOFTWARE nginx/1.19.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.bdqfx.com/public
DOCUMENT_URI /index.phphtml
REQUEST_URI /zone/56
SCRIPT_NAME /index.phphtml
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/zone/56
SCRIPT_FILENAME /www/wwwroot/www.bdqfx.com/public/index.phphtml
FCGI_ROLE RESPONDER
PHP_SELF /index.phphtml
REQUEST_TIME_FLOAT 1606468417.8339
REQUEST_TIME 1606468417
Environment Variablesempty
ThinkPHP Constantsempty
ThinkPHP V5.1.34 LTS { 十年磨一剑-为API开发设计的高性能框架 }
乐虎国际app安卓下载10bet体育移动版10bet体育移动版