[2002] PDOException in Connection.php 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.php line 528
                    2. at PDO->__construct('mysql:host=127.0.0.1...', 'mtlsh_com', 'NEXDcfJZAR4eMS2d', [0, 2, 0, ...]) in Connection.php line 528
                    3. at Connection->connect() in Connection.php line 2026
                    4. at Connection->initConnect(false) in Connection.php line 644
                    5. at Connection->query('SHOW COLUMNS FROM `t...', [], false, true) in Mysql.php line 90
                    6. at Mysql->getFields('`think_aboutus`') in Connection.php line 377
                    7. at Connection->getTableInfo('think_aboutus', 'bind') in Connection.php line 454
                    8. at Connection->getFieldsBind('think_aboutus') in Builder.php line 292
                    9. at Builder->buildWhere(object(Query), []) in Builder.php line 264
                    10. at Builder->parseWhere(object(Query), []) in Builder.php line 991
                    11. at Builder->select(object(Query)) in Connection.php line 828
                    12. at Connection->find(object(Query)) in Query.php line 3132
                    13. at Query->find() in AboutusModel.php line 12
                    14. at AboutusModel->getFly('', 'id,address,qq,title,...', '', '', 'find') in Base.php line 37
                    15. at Base->__construct() in Index.php line 23
                    16. at Index->__construct()
                    17. at ReflectionClass->newInstanceArgs([]) in Container.php line 439
                    18. at Container->invokeClass('app\index\controller...', []) in Container.php line 284
                    19. at Container->make('app\index\controller...', []) in App.php line 725
                    20. at App->controller('index', 'controller', false, 'Error') in Module.php line 95
                    21. at Module->exec() in Dispatch.php line 168
                    22. at Dispatch->run() in App.php line 432
                    23. at App->think\{closure}(object(Request), object(Closure), null)
                    24. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
                    25. at Middleware->think\{closure}(object(Request))
                    26. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
                    27. at Middleware->dispatch(object(Request)) in App.php line 435
                    28. at App->run() in index.php line 22

                    Environment Variables

                    GET Data
                    aaid EI.doc20241023
                    POST Dataempty
                    Filesempty
                    Cookiesempty
                    Sessionempty
                    Server/Request Data
                    _FCGI_X_PIPE_ \\.\pipe\IISFCGI-9907b4e7-e694-40e0-9f89-4411beaf709f
                    PHP_FCGI_MAX_REQUESTS 10000
                    ALLUSERSPROFILE C:\ProgramData
                    APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
                    APP_POOL_CONFIG C:\inetpub\temp\apppools\wpnq.cn\wpnq.cn.config
                    APP_POOL_ID wpnq.cn
                    BT_PANEL C:\BtSoft\panel
                    BT_PYTHON C:\Program Files\python
                    BT_SETUP C:\BtSoft
                    CommonProgramFiles C:\Program Files\Common Files
                    CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
                    CommonProgramW6432 C:\Program Files\Common Files
                    composer C:\BtSoft\php\70\composer.phar
                    COMPUTERNAME iZgiwpnzf4kfrdZ
                    ComSpec C:\Windows\system32\cmd.exe
                    FP_NO_HOST_CHECK NO
                    LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
                    NUMBER_OF_PROCESSORS 1
                    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;;C:\BtSoft\panel\script;;C:\Program Files\python;C:\Program Files\python\Scripts;;C:\BtSoft\panel\script;
                    PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
                    PROCESSOR_ARCHITECTURE AMD64
                    PROCESSOR_IDENTIFIER Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
                    PROCESSOR_LEVEL 6
                    PROCESSOR_REVISION 5504
                    ProgramData C:\ProgramData
                    ProgramFiles C:\Program Files
                    ProgramFiles(x86) C:\Program Files (x86)
                    ProgramW6432 C:\Program Files
                    PSModulePath C:\Program Files\WindowsPowerShell\Modules;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 iZgiwpnzf4kfrdZ$
                    USERPROFILE C:\Windows\system32\config\systemprofile
                    windir C:\Windows
                    ORIG_PATH_INFO /index.php
                    URL /index.php
                    SERVER_SOFTWARE Microsoft-IIS/8.5
                    SERVER_PROTOCOL HTTP/1.1
                    SERVER_PORT_SECURE 0
                    SERVER_PORT 80
                    SERVER_NAME www.wpnq.cn
                    SCRIPT_NAME /index.php
                    SCRIPT_FILENAME c:\wwwroot\wpnq.cn\index.php
                    REQUEST_URI /?aaid=EI.doc20241023
                    REQUEST_METHOD GET
                    REMOTE_USER
                    REMOTE_PORT 52947
                    REMOTE_HOST 160.124.19.120
                    REMOTE_ADDR 160.124.19.120
                    QUERY_STRING aaid=EI.doc20241023
                    PATH_TRANSLATED c:\wwwroot\wpnq.cn\index.php
                    LOGON_USER
                    LOCAL_ADDR 172.31.62.133
                    INSTANCE_META_PATH /LM/W3SVC/27
                    INSTANCE_NAME MTLSH.COM
                    INSTANCE_ID 27
                    HTTPS_SERVER_SUBJECT
                    HTTPS_SERVER_ISSUER
                    HTTPS_SECRETKEYSIZE
                    HTTPS_KEYSIZE
                    HTTPS off
                    GATEWAY_INTERFACE CGI/1.1
                    DOCUMENT_ROOT c:\wwwroot\wpnq.cn
                    CONTENT_TYPE
                    CONTENT_LENGTH 0
                    CERT_SUBJECT
                    CERT_SERIALNUMBER
                    CERT_ISSUER
                    CERT_FLAGS
                    CERT_COOKIE
                    AUTH_USER
                    AUTH_PASSWORD
                    AUTH_TYPE
                    APPL_PHYSICAL_PATH c:\wwwroot\wpnq.cn\
                    APPL_MD_PATH /LM/W3SVC/27/ROOT
                    IIS_UrlRewriteModule 7.1.0871.0
                    HTTP_USER_AGENT Mozilla/5.0 (Linux;u;Android 4.2.2;zh-cn;) AppleWebKit/534.46 (KHTML,like Gecko)Version/5.1 Mobile Safari/10600.6.3 (compatible; Baiduspider/2.0;+http://www.baidu.com/search/spider.html)
                    HTTP_HOST www.wpnq.cn
                    HTTP_ACCEPT */*
                    HTTP_CONTENT_LENGTH 0
                    FCGI_ROLE RESPONDER
                    PHP_SELF /index.php
                    REQUEST_TIME_FLOAT 1729622719.518
                    REQUEST_TIME 1729622719
                    Environment Variablesempty
                    ThinkPHP Constants
                    APP_PATH C:\wwwroot\wpnq.cn/app/