太阳成tyc7111cc(股份)有限公司

[2002] PDOException in Connection.php line 295

SQLSTATE[HY000] [2002] 由于系统缓冲区空间不足或队列已满,不能执行套接字上的操作。

  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=127.0.0.1...', 'fcled_com', 'DGwf7077', [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 `f...', [], false, true) in Mysql.php line 65
  6. at Mysql->getFields('`fa_cms_archives`') in Query.php line 1922
  7. at Query->getTableInfo('fa_cms_archives', 'pk') in Query.php line 1956
  8. at Query->getPk(['multi' => ['AND' => ['status' => [['eq', 'prepare']], 'publishtime' => [['<', 1732208473]]]], 'where' => ['AND' => ['status' => ['eq', 'prepare'], 'publishtime' => ['<', 1732208473]]], 'table' => 'fa_cms_archives', ...]) in Query.php line 2387
  9. at Query->update(['status' => 'normal']) in Service.php line 751
  10. at Service::checkPublishArchives() in Base.php line 45
  11. at Base->__construct(object(Request)) in Route.php line 61
  12. at Route->execute('cms', 'channel', 'index')
  13. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'channel', 'index']) in App.php line 343
  14. at App::invokeMethod(['\think\addons\Route', 'execute'], ['diyname' => 'LEDLightPanel', 'addon' => 'cms', 'controller' => 'channel', ...]) in App.php line 470
  15. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'cms', 'controller' => 'channel', 'action' => 'index']], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...]) in App.php line 139
  16. at App::run() in start.php line 19
  17. at require('D:\wwwroot\fcled.com...') in index.php line 23

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\WINDOWS\system32\config\systemprofile\AppData\Roaming
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
172_17_0_2
ComSpec
C:\WINDOWS\system32\cmd.exe
DriverData
C:\Windows\System32\Drivers\DriverData
LCOW_SUPPORTED
1
LOCALAPPDATA
C:\WINDOWS\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
8
OS
Windows_NT
Path
C:\WINDOWS\system32;C:\WINDOWS\system32;D:\zktime\zkeco_dlls\;D:\zktime\Python3\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\QCloud\Monitor\Barad;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\python;C:\Program Files\python\Scripts;D:\BtSoft\panel\script;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Docker;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PHP_FCGI_MAX_REQUESTS
3000
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
5e03
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;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\PowerShell\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
172_17_0_2$
USERPROFILE
C:\WINDOWS\system32\config\systemprofile
windir
C:\WINDOWS
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.fcled.com
HTTP_USER_AGENT
Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)
REDIRECT_STATUS
200
SERVER_NAME
fcled.com
SERVER_PORT
443
SERVER_ADDR
172.17.0.2
REMOTE_PORT
60646
REMOTE_ADDR
205.164.7.90
SERVER_SOFTWARE
nginx/1.21.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
D:/wwwroot/fcled.com/public
DOCUMENT_URI
/index.php/LEDLightPanel.html
REQUEST_URI
/index.php/LEDLightPanel.html
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
PATH_INFO
/LEDLightPanel.html
SCRIPT_NAME
/index.php/LEDLightPanel.html
SCRIPT_FILENAME
D:/wwwroot/fcled.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/LEDLightPanel.html/LEDLightPanel.html
REQUEST_TIME_FLOAT
1732208473.4843
REQUEST_TIME
1732208473
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\wwwroot\fcled.com\public/../application/
THINK_VERSION
5.0.26
THINK_START_TIME
1732208473.485
THINK_START_MEM
366032
EXT
.php
DS
\
THINK_PATH
D:\wwwroot\fcled.com\thinkphp\
LIB_PATH
D:\wwwroot\fcled.com\thinkphp\library\
CORE_PATH
D:\wwwroot\fcled.com\thinkphp\library\think\
TRAIT_PATH
D:\wwwroot\fcled.com\thinkphp\library\traits\
ROOT_PATH
D:\wwwroot\fcled.com\
EXTEND_PATH
D:\wwwroot\fcled.com\extend\
VENDOR_PATH
D:\wwwroot\fcled.com\vendor\
RUNTIME_PATH
D:\wwwroot\fcled.com\runtime\
LOG_PATH
D:\wwwroot\fcled.com\runtime\log\
CACHE_PATH
D:\wwwroot\fcled.com\runtime\cache\
TEMP_PATH
D:\wwwroot\fcled.com\runtime\temp\
CONF_PATH
D:\wwwroot\fcled.com\public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
HTMLPURIFIER_PREFIX
D:\wwwroot\fcled.com\vendor\ezyang\htmlpurifier\library
ADDON_PATH
D:\wwwroot\fcled.com\addons\
Baidu
sogou