[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()
  3. at call_user_func_array() in Db.php line 178
  4. at Db::__callStatic() in common.php line 66
  5. at getbofangyuan() in MyError.php line 85
  6. at MyError->generateContent() in MyError.php line 380
  7. at MyError->_empty()
  8. at ReflectionMethod->invokeArgs() in App.php line 343
  9. at App::invokeMethod() in App.php line 613
  10. at App::module() in App.php line 456
  11. at App::exec() in App.php line 139
  12. at App::run() in start.php line 19
  13. at require('/www/wwwroot/zhanqun...') in index.php line 127

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 vod_id FROM `mac_vod` WHERE vod_status = 1 AND vod_id <= 10000 ORDER BY vod_id
Database Config
type mysql
hostname 127.0.0.1
database xinshujuwang
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
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
104th.net
HTTP_X_FORWARDED_PROTO
https
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_CF_IPCOUNTRY
US
HTTP_CF_CONNECTING_IP
216.73.216.112
HTTP_CDN_LOOP
cloudflare; loops=1
HTTP_CF_RAY
9d33f0e54a8f48fc-CMH
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_REFERER
http://104th.net/video/LyXIL1BcOed.html
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_X_FORWARDED_FOR
216.73.216.112
PATH_INFO
/video/LyXIL1BcOed.html
REDIRECT_STATUS
200
SERVER_NAME
zhanqun.com
SERVER_PORT
80
SERVER_ADDR
64.32.26.218
REMOTE_PORT
9583
REMOTE_ADDR
104.23.197.73
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/zhanqun.com
DOCUMENT_URI
/index.php
REQUEST_URI
/video/LyXIL1BcOed.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/video/LyXIL1BcOed.html
SCRIPT_FILENAME
/www/wwwroot/zhanqun.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1771988306.8049
REQUEST_TIME
1771988306
Environment Variables
empty

ThinkPHP Constants

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