欢迎来到公赌船jcjc710_公海7108优惠大厅

[1040] PDOException in Connection.php line 295

SQLSTATE[08004] [1040] Too many connections

  1. $this->fetchType = $config['result_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 295
  2. at PDO->__construct('mysql:host=localhost...', 'mingxinfj', 'aFJ6A6j^v8', [0, 2, 0, ...]) in Connection.php line 295
  3. at Connection->connect() in Connection.php line 995
  4. at Connection->initConnect(false) in Connection.php line 348
  5. at Connection->query('SHOW COLUMNS FROM `d...', [], false, true) in Mysql.php line 65
  6. at Mysql->getFields('`dc_lang`') in Query.php line 1921
  7. at Query->getTableInfo('dc_lang', 'type') in Query.php line 1969
  8. at Query->getFieldsType('dc_lang') in Query.php line 1975
  9. at Query->getFieldsBind('dc_lang') in Builder.php line 270
  10. at Builder->buildWhere(['AND' => ['lang_val' => ['eq', 'zh-cn']]], ['multi' => ['AND' => ['lang_val' => [['eq', 'zh-cn']]]], 'where' => ['AND' => ['lang_val' => ['eq', 'zh-cn']]], 'field' => ['id'], ...]) in Builder.php line 240
  11. at Builder->parseWhere(['AND' => ['lang_val' => ['eq', 'zh-cn']]], ['multi' => ['AND' => ['lang_val' => [['eq', 'zh-cn']]]], 'where' => ['AND' => ['lang_val' => ['eq', 'zh-cn']]], 'field' => ['id'], ...]) in Builder.php line 719
  12. at Builder->select(['multi' => ['AND' => ['lang_val' => [['eq', 'zh-cn']]]], 'where' => ['AND' => ['lang_val' => ['eq', 'zh-cn']]], 'field' => ['id'], ...]) in Query.php line 2462
  13. at Query->getPdo() in Query.php line 441
  14. at Query->value('id') in DcBase.php line 200
  15. at DcBase->nlang() in DcBase.php line 37
  16. at DcBase->_initialize() in Controller.php line 59
  17. at Controller->__construct(object(Request))
  18. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 359
  19. at App::invokeClass('app\index\controller...') in Loader.php line 479
  20. at Loader::controller('cases', 'controller', false, 'Error') in App.php line 580
  21. at App::module(['index', 'cases', 'info'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  22. at App::exec(['type' => 'module', 'module' => ['index', 'cases', 'info'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  23. at App::run() in start.php line 19
  24. at require('D:\wwwroot\mingxinfj...') in index.php line 15

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

lang_val
zh-cn
Session
empty

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-2f6ae8c5-1796-46d2-ad7b-1375f8f5aa0b
PHPRC
D:\SOFT_PHP_PACKAGE\php7.0
PHP_FCGI_MAX_REQUESTS
10000
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\mingxinfj\mingxinfj.config
APP_POOL_ID
mingxinfj
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
EBS-50139
ComSpec
C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
4
OS
Windows_NT
Path
D:\SOFT_PHP_PACKAGE\php;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;d:\SOFT_PHP_PACKAGE\mysql\bin;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn:D:\SOFT_PHP_PACKAGE\php7.0;
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
x86
PROCESSOR_ARCHITEW6432
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
4f01
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files (x86)
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
EBS-50139$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
windows_tracing_flags
3
windows_tracing_logfile
C:\BVTBin\Tests\installpackage\csilogfile.log
ORIG_PATH_INFO
/index.php/cases/hnuYP.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/7.5
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.cnmxfj.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
d:\wwwroot\mingxinfj\wwwroot\index.php
REQUEST_URI
/cases/hnuYP.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
61217
REMOTE_HOST
127.0.0.1
REMOTE_ADDR
127.0.0.1
QUERY_STRING
PATH_TRANSLATED
d:\wwwroot\mingxinfj\wwwroot\index.php\cases\hnuYP.html
PATH_INFO
/cases/hnuYP.html
LOGON_USER
LOCAL_ADDR
127.0.0.1
INSTANCE_META_PATH
/LM/W3SVC/10644
INSTANCE_NAME
MINGXINFJ
INSTANCE_ID
10644
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\wwwroot\mingxinfj\wwwroot
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
d:\wwwroot\mingxinfj\wwwroot\
APPL_MD_PATH
/LM/W3SVC/10644/ROOT
IIS_UrlRewriteModule
7.1.0871.0
UNENCODED_URL
/cases/hnuYP.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/cases/hnuYP.html
HTTP_X_REAL_IP
107.158.235.138
HTTP_X_FORWARDED_FOR
107.158.235.138
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_HOST
www.cnmxfj.com
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
HTTP_CONNECTION
close
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/cases/hnuYP.html
REQUEST_TIME_FLOAT
1731664777.3281
REQUEST_TIME
1731664777
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\wwwroot\mingxinfj\wwwroot/../application/
THINK_VERSION
5.0.21
THINK_START_TIME
1731664777.3438
THINK_START_MEM
377184
EXT
.php
DS
\
THINK_PATH
D:\wwwroot\mingxinfj\thinkphp\
LIB_PATH
D:\wwwroot\mingxinfj\thinkphp\library\
CORE_PATH
D:\wwwroot\mingxinfj\thinkphp\library\think\
TRAIT_PATH
D:\wwwroot\mingxinfj\thinkphp\library\traits\
ROOT_PATH
D:\wwwroot\mingxinfj\
EXTEND_PATH
D:\wwwroot\mingxinfj\extend\
VENDOR_PATH
D:\wwwroot\mingxinfj\vendor\
RUNTIME_PATH
D:\wwwroot\mingxinfj\runtime\
LOG_PATH
D:\wwwroot\mingxinfj\runtime\log\
CACHE_PATH
D:\wwwroot\mingxinfj\runtime\cache\
TEMP_PATH
D:\wwwroot\mingxinfj\runtime\temp\
CONF_PATH
D:\wwwroot\mingxinfj\wwwroot/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true