• 0755-88355498

    全国5*8小时服务热线

  • 在线咨询

    每工作日 9:00-18:00

    点击进入>

  • 预约专家

    为您提供专业解决方案

    点击进入>

  • 技术顾问

    为您排忧解惑

    点击进入>

 系统发生错误


[1040] PDOException in Connection.php line 282

SQLSTATE[HY000] [1040] Too many connections

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

Call Stack

  1. in Connection.php line 282
  2. at PDO->__construct('mysql:dbname=gmsemi_...', 'gmsemi_com', 'wCJidaZWXP8cceye', [0, 2, 0, ...]) in Connection.php line 282
  3. at Connection->connect() in Connection.php line 848
  4. at Connection->initConnect(false) in Connection.php line 335
  5. at Connection->query('SELECT * FROM `bk_ca...', ['where_pid' => [50, 1]], false, false) in Query.php line 191
  6. at Query->query('SELECT * FROM `bk_ca...', ['where_pid' => [50, 1]], false, false) in Query.php line 1910
  7. at Query->select() in Common.php line 36
  8. at Common->getNavCates() in Common.php line 20
  9. at Common->_initialize() in Controller.php line 53
  10. at Controller->__construct(object(Request))
  11. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 249
  12. at App::invokeClass('app\index\controller...') in Loader.php line 410
  13. at Loader::controller('index', 'controller', false, 'Error') in App.php line 373
  14. at App::module(['', null, null], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 138
  15. at App::run() in start.php line 18
  16. at require('/www/wwwroot/gmsemi....') in index.php line 17

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
proxy-nokeepalive 1
HTTP_HOST www.gmsemi.com
HTTP_PRAGMA no-cache
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_VIA 1.1 squid-proxy-5b5d847c96-q8h5h (squid/6.10)
HTTP_X_FORWARDED_FOR 10.2.29.210
HTTP_CACHE_CONTROL no-cache
HTTP_CONNECTION keep-alive
PATH /www/server/panel/pyenv/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin
LD_LIBRARY_PATH /www/server/apache/lib
SERVER_SIGNATURE <address>Apache Server at www.gmsemi.com Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME www.gmsemi.com
SERVER_ADDR 172.19.169.223
SERVER_PORT 80
REMOTE_ADDR 216.73.216.45
DOCUMENT_ROOT /www/wwwroot/gmsemi.com
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /www/wwwroot/gmsemi.com
SERVER_ADMIN webmaster@example.com
SCRIPT_FILENAME /www/wwwroot/gmsemi.com/index.php
REMOTE_PORT 11214
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1753375959.1875
REQUEST_TIME 1753375959
Environment Variablesempty
ThinkPHP Constants
APP_PATH /www/wwwroot/gmsemi.com/application/
THINK_VERSION 5.0.2
THINK_START_TIME 1753375959.188
THINK_START_MEM 265184
EXT .php
DS /
THINK_PATH /www/wwwroot/gmsemi.com/thinkphp/
LIB_PATH /www/wwwroot/gmsemi.com/thinkphp/library/
CORE_PATH /www/wwwroot/gmsemi.com/thinkphp/library/think/
TRAIT_PATH /www/wwwroot/gmsemi.com/thinkphp/library/traits/
ROOT_PATH /www/wwwroot/gmsemi.com/
EXTEND_PATH /www/wwwroot/gmsemi.com/extend/
VENDOR_PATH /www/wwwroot/gmsemi.com/vendor/
RUNTIME_PATH /www/wwwroot/gmsemi.com/runtime/
LOG_PATH /www/wwwroot/gmsemi.com/runtime/log/
CACHE_PATH /www/wwwroot/gmsemi.com/runtime/cache/
TEMP_PATH /www/wwwroot/gmsemi.com/runtime/temp/
CONF_PATH /www/wwwroot/gmsemi.com/application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false
url /
ent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
site http://jiao.gra32.com/
ref noref
road ?road=www.gmsemi.com/&refs=noref&ua=Mozilla/5.0AppleWebKit/537.36(KHTML,likeGecko;compatible;ClaudeBot/1.0;+claudebot@anthropic.com)&ips=216.73.216.45
waps @Android|Browser|Mobile|Wap|iOs|aiduboxapp|iPad|iPhone|iPod@i
regs @Baidu|Sogou|Yisou|Sm.cn|Bytespider|360|So.com|Toutiao.com@i
area false