[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 2686
  4. at Query->find() in Post.php line 21
  5. at Post->index()
  6. at ReflectionMethod->invokeArgs() in App.php line 343
  7. at App::invokeMethod() in App.php line 611
  8. at App::module() in App.php line 456
  9. at App::exec() in App.php line 139
  10. at App::run() in start.php line 19
  11. at require('/www/wwwroot/feitian...') in s.php line 57

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 `fa_article` ORDER BY rand() LIMIT 1
Database Config
type mysql
hostname 127.0.0.1
database feitianyl_com
hostport
dsn
params []
charset utf8mb4
prefix fa_
debug false
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
result_type 2
resultset_type array
auto_timestamp false
datetime_format false
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_HOST
www.feitianyl.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/buy_533978199448
REDIRECT_STATUS
200
SERVER_NAME
feitianyl.com
SERVER_PORT
80
SERVER_ADDR
122.10.17.231
REMOTE_PORT
58226
REMOTE_ADDR
44.204.204.14
SERVER_SOFTWARE
nginx/1.21.4
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/feitianyl.com/public
DOCUMENT_URI
/s.php
REQUEST_URI
/buy_533978199448
SCRIPT_NAME
/s.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/buy_533978199448
SCRIPT_FILENAME
/www/wwwroot/feitianyl.com/public/s.php
FCGI_ROLE
RESPONDER
PHP_SELF
/s.php
REQUEST_TIME_FLOAT
1711666798.7176
REQUEST_TIME
1711666798
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/feitianyl.com/public/../application/
THINK_VERSION
5.0.25
THINK_START_TIME
1711666798.7189
THINK_START_MEM
418216
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/feitianyl.com/thinkphp/
LIB_PATH
/www/wwwroot/feitianyl.com/thinkphp/library/
CORE_PATH
/www/wwwroot/feitianyl.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/feitianyl.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/feitianyl.com/
EXTEND_PATH
/www/wwwroot/feitianyl.com/extend/
VENDOR_PATH
/www/wwwroot/feitianyl.com/vendor/
RUNTIME_PATH
/www/wwwroot/feitianyl.com/runtime/
LOG_PATH
/www/wwwroot/feitianyl.com/runtime/log/
CACHE_PATH
/www/wwwroot/feitianyl.com/runtime/cache/
TEMP_PATH
/www/wwwroot/feitianyl.com/runtime/temp/
CONF_PATH
/www/wwwroot/feitianyl.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
HTMLPURIFIER_PREFIX
/www/wwwroot/feitianyl.com/vendor/ezyang/htmlpurifier/library
ADDON_PATH
/www/wwwroot/feitianyl.com/addons/