[2002] PDOException in Connection.phphtml line 528

  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_wzzyjyzx_com', 'fSfsYK6BWRAdpH5w', [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 `x...', [], false, true) in Mysql.phphtml line 90
  6. at Mysql->getFields('xwxt') in Connection.phphtml line 377
  7. at Connection->getTableInfo('xwxt', 'pk') in Connection.phphtml line 414
  8. at Connection->getPk('xwxt') in Query.phphtml line 2453
  9. at Query->getPk(['table' => 'xwxt', 'where' => ['AND' => [['id', '=', '6051']]], 'field' => '*', ...]) in Connection.phphtml line 793
  10. at Connection->find(object(Query)) in Query.phphtml line 3131
  11. at Query->find() in Xwxt.phphtml line 64
  12. at Xwxt->xwnr('6051')
  13. at ReflectionMethod->invokeArgs(object(Xwxt), ['6051']) in Container.phphtml line 395
  14. at Container->invokeReflectMethod(object(Xwxt), object(ReflectionMethod), ['id' => '6051', 'convert' =>false]) in Module.phphtml line 132
  15. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  16. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.phphtml line 185
  17. at Middleware->think\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Middleware.phphtml line 130
  19. at Middleware->dispatch(object(Request), 'controller') in Module.phphtml line 137
  20. at Module->exec() in Dispatch.phphtml line 168
  21. at Dispatch->run() in App.phphtml line 432
  22. at App->think\{closure}(object(Request), object(Closure), null)
  23. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.phphtml line 185
  24. at Middleware->think\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Middleware.phphtml line 130
  26. at Middleware->dispatch(object(Request)) in App.phphtml line 435
  27. at App->run() in index.phphtml line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-18e99243-5525-462f-ba8a-1a093bf95caf
PHP_FCGI_MAX_REQUESTS 10000
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\www.kimkiy.com\www.kimkiy.com.config
APP_POOL_ID www.kimkiy.com
BT_PANEL D:\BtSoft\panel
BT_PYTHON C:\Program Files\python
BT_SETUP D:\BtSoft
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME KVaZqj7gkztp
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 2
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;;C:\Program Files\python;C:\Program Files\python\Scripts;;D:\BtSoft\panel\script;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 3f02
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
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
UNRAR_LIB_PATH C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
USERDOMAIN WORKGROUP
USERNAME KVaZqj7gkztp$
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.phphtml/xwnr/6051.html
URL /index.phphtml
SERVER_SOFTWARE Microsoft-IIS/7.5
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.kimkiy.com
SCRIPT_NAME /index.phphtml
SCRIPT_FILENAME D:\wwwroot\wzjyzx\public\index.phphtml
REQUEST_URI /xwnr/6051.html
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 57025
REMOTE_HOST 156.255.134.55
REMOTE_ADDR 156.255.134.55
QUERY_STRING
PATH_TRANSLATED D:\wwwroot\wzjyzx\public\index.phphtml\xwnr\6051.html
PATH_INFO /xwnr/6051.html
LOGON_USER
LOCAL_ADDR 116.255.196.165
INSTANCE_META_PATH /LM/W3SVC/5
INSTANCE_NAME WWW.kimkiy.com
INSTANCE_ID 5
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT D:\wwwroot\wzjyzx\public
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\wzjyzx\public\
APPL_MD_PATH /LM/W3SVC/5/ROOT
IIS_UrlRewriteModule 7.1.0871.0
UNENCODED_URL /xwnr/6051.html
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /xwnr/6051.html
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_HOST www.kimkiy.com
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
FCGI_ROLE RESPONDER
PHP_SELF /index.phphtml/xwnr/6051.html
REQUEST_TIME_FLOAT 1605628235.7979
REQUEST_TIME 1605628235
Environment Variablesempty
ThinkPHP Constantsempty
必威体育app苹果买球网manbetxqy333vip千赢国际