[10501] PDOException in Connection.php line 385

SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress

  1. $this->PDOStatement->execute();
  2. // 调试结束
  3. $this->debug(false, '', $master);
  4. // 返回结果集
  5. return $this->getResult($pdo, $procedure);
  6. } catch (\PDOException $e) {
  7. if ($this->isBreak($e)) {
  8. return $this->close()->query($sql, $bind, $master, $pdo);
  9. }
  10. throw new PDOException($e, $this->config, $this->getLastsql());
  11. } catch (\Throwable $e) {
  12. if ($this->isBreak($e)) {
  13. return $this->close()->query($sql, $bind, $master, $pdo);
  14. }
  15. throw $e;
  16. } catch (\Exception $e) {
  17. if ($this->isBreak($e)) {
  18. return $this->close()->query($sql, $bind, $master, $pdo);
  19. }

Call Stack

  1. in Connection.php line 385
  2. at Connection->query() in Query.php line 255
  3. at Query->query() in Query.php line 2523
  4. at Query->select() in Vod.php line 52
  5. at Vod->listData() in Vod.php line 666
  6. at Vod->listCacheData() in d8bf52c6f91347128e509a7f16f3c5c0.php line 149
  7. at include('/home/www/wwwroot/fa...') in File.php line 53
  8. at File->read() in Template.php line 188
  9. at Template->fetch() in Think.php line 89
  10. at Think->fetch() in View.php line 177
  11. at View->fetch() in Controller.php line 130
  12. at Controller->fetch() in All.php line 165
  13. at All->label_fetch() in Vod.php line 43
  14. at Vod->search()
  15. at ReflectionMethod->invokeArgs() in App.php line 343
  16. at App::invokeMethod() in App.php line 613
  17. at App::module() in App.php line 456
  18. at App::exec() in App.php line 139
  19. at App::run() in start.php line 19
  20. at require('/home/www/wwwroot/fa...') in index.php line 126

Exception Datas

PDO Error Info
SQLSTATE 08S01
Driver Error Code 1053
Driver Error Message Server shutdown in progress
Database Status
Error Code 10501
Error Message SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress
Error SQL SELECT * FROM `mac_vod` WHERE `vod_status` = 1 AND ( `vod_name` LIKE '%-Woody McC%' OR `vod_en` LIKE '%-Woody McC%' OR `vod_sub` LIKE '%-Woody McC%' ) ORDER BY `vod_time` DESC LIMIT 0,2
Database Config
type mysql
hostname 127.0.0.1
database qifeiba888
hostport 3306
dsn
params []
charset utf8
prefix mac_
debug false
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict false
result_type 2
resultset_type array
auto_timestamp false
datetime_format Y-m-d H:i:s
sql_explain false
builder
query \think\db\Query
break_reconnect false

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty

Session

think
{ "last_searchtime": 1752426177 }

Server/Request Data

USER
www
HOME
/home/www
HTTP_CONNECTION
keep-alive
HTTP_CACHE_CONTROL
max-age=259200
HTTP_X_FORWARDED_FOR
10.1.132.57
HTTP_VIA
1.1 squid-proxy-5b5d847c96-rt7dp (squid/6.10)
HTTP_HOST
tjebf.51hvac.com
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
PATH_INFO
/vodsearch/-Woody+McClain------------.html
REDIRECT_STATUS
200
SERVER_NAME
51hvac.com
SERVER_PORT
80
SERVER_ADDR
38.6.135.222
REMOTE_PORT
10203
REMOTE_ADDR
216.73.216.203
SERVER_SOFTWARE
nginx/1.26.3
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/www/wwwroot/fanmulu666.com
DOCUMENT_URI
/index.php
REQUEST_URI
/vodsearch/-Woody+McClain------------.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/vodsearch/-Woody%2BMcClain------------.html
SCRIPT_FILENAME
/home/www/wwwroot/fanmulu666.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1752426177.6579
REQUEST_TIME
1752426177
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/home/www/wwwroot/fanmulu666.com/
APP_PATH
/home/www/wwwroot/fanmulu666.com/application/
MAC_COMM
/home/www/wwwroot/fanmulu666.com/application/common/common/
MAC_HOME_COMM
/home/www/wwwroot/fanmulu666.com/application/index/common/
MAC_ADMIN_COMM
/home/www/wwwroot/fanmulu666.com/application/admin/common/
MAC_START_TIME
1752426177.6584
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
THINK_VERSION
5.0.24
THINK_START_TIME
1752426177.6585
THINK_START_MEM
362112
EXT
.php
EXTTXT
.txt
MACLINE
verifymac
DS
/
THINK_PATH
/home/www/wwwroot/fanmulu666.com/thinkphp/
LIB_PATH
/home/www/wwwroot/fanmulu666.com/thinkphp/library/
CORE_PATH
/home/www/wwwroot/fanmulu666.com/thinkphp/library/think/
TRAIT_PATH
/home/www/wwwroot/fanmulu666.com/thinkphp/library/traits/
MACERRORF
error
EXTEND_PATH
/home/www/wwwroot/fanmulu666.com/extend/
VENDOR_PATH
/home/www/wwwroot/fanmulu666.com/vendor/
RUNTIME_PATH
/home/www/wwwroot/fanmulu666.com/runtime/
LOG_PATH
/home/www/wwwroot/fanmulu666.com/runtime/log/
CACHE_PATH
/home/www/wwwroot/fanmulu666.com/runtime/cache/
TEMP_PATH
/home/www/wwwroot/fanmulu666.com/runtime/temp/
CONF_PATH
/home/www/wwwroot/fanmulu666.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/home/www/wwwroot/fanmulu666.com/addons/
MAX_CACHE_ITEMS
1000
MAC_URL
http://www.maccms.la/
MAC_NAME
苹果CMS
MAC_PATH
/
MAC_MOB
0
MAC_ROOT_TEMPLATE
/home/www/wwwroot/fanmulu666.com/template/DYXS2/html/
MAC_PATH_TEMPLATE
/template/DYXS2/
MAC_PATH_TPL
/template/DYXS2/html/
MAC_PATH_ADS
/template/DYXS2/ads/
MAC_PAGE_SP
_
MAC_PLAYER_SORT
1
MAC_ADDON_PATH
/home/www/wwwroot/fanmulu666.com/addons/
MAC_ADDON_PATH_STATIC
/home/www/wwwroot/fanmulu666.com/static/addons/