[10501] PDOException in Connection.php line 687

SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine

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

Call Stack

  1. in Connection.php line 687
  2. at Connection->query('SHOW COLUMNS FROM `w...', [], false, true) in Mysql.php line 90
  3. at Mysql->getFields('`wp_social`') in Connection.php line 377
  4. at Connection->getTableInfo('wp_social', 'bind') in Connection.php line 454
  5. at Connection->getFieldsBind('wp_social') in Builder.php line 292
  6. at Builder->buildWhere(object(Query), ['AND' => ['id' => ['id', '=', 0]]]) in Builder.php line 264
  7. at Builder->parseWhere(object(Query), ['AND' => ['id' => ['id', '=', 0]]]) in Builder.php line 991
  8. at Builder->select(object(Query)) in Connection.php line 828
  9. at Connection->find(object(Query)) in Query.php line 3132
  10. at Query->find(0)
  11. at call_user_func_array([object(Query), 'find'], [0]) in Model.php line 1100
  12. at Model->__call('find', [0]) in Social.php line 13
  13. at Social->getInfo() in Base.php line 218
  14. at Base->initSite() in Base.php line 154
  15. at Base->initialize() in WebBase.php line 35
  16. at WebBase->initialize() in Home.php line 27
  17. at Home->initialize() in Controller.php line 68
  18. at Controller->__construct() in Base.php line 146
  19. at Base->__construct() in WebBase.php line 27
  20. at WebBase->__construct()
  21. at ReflectionClass->newInstanceArgs([]) in Container.php line 439
  22. at Container->invokeClass('app\home\controller\...', []) in Container.php line 284
  23. at Container->make('app\home\controller\...', []) in App.php line 725
  24. at App->controller('index', 'controller', false, 'Error') in Module.php line 95
  25. at Module->exec() in Dispatch.php line 168
  26. at Dispatch->run() in App.php line 432
  27. at App->think\{closure}(object(Request), object(Closure), null)
  28. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  29. at Middleware->think\{closure}(object(Request))
  30. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  31. at Middleware->dispatch(object(Request)) in App.php line 435
  32. at App->run() in index.php line 55

Exception Datas

PDO Error Info
SQLSTATE HY000
Driver Error Code 1030
Driver Error Message Got error 28 from storage engine
Database Status
Error Code 10501
Error Message SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine
Error SQL SHOW COLUMNS FROM `wp_social`
Database Config
type mysql
hostname 127.0.0.1
database dou
hostport 3306
dsn
params []
charset utf8mb4
prefix wp_
debug true
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict false
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
break_match_str []
data_auth_key SD#$#$%FDSA454sdf$%asdfD

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
TEMP /tmp
TMPDIR /tmp
TMP /tmp
PATH /usr/local/bin:/usr/bin:/bin
USER www
HOME /alidata/www
HTTP_HOST dou.weiphp.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
SCRIPT_FILENAME /alidata/www/dou/public/index.php
REDIRECT_STATUS 200
SERVER_NAME dou.weiphp.cn
SERVER_PORT 80
SERVER_ADDR 172.16.5.119
REMOTE_PORT 49370
REMOTE_ADDR 3.230.128.106
SERVER_SOFTWARE nginx/1.15.12
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /alidata/www/dou/public
DOCUMENT_URI /index.php
REQUEST_URI /
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710841179.4316
REQUEST_TIME 1710841179
Environment Variablesempty
ThinkPHP Constants
SYSTEM_TOKEN weiphp
WORKERMAN_URL localhost
DB_PREFIX wp_
SITE_PATH /alidata/www/dou
DEFAULT_PBID -1
DEFAULT_WPID -1
HAS_INDEX true
_PHP_FILE_ /index.php
__ROOT__
HTTP_PREFIX http://
SITE_DOMAIN dou.weiphp.cn
SITE_URL http://dou.weiphp.cn
SITE_DIR_NAME dou
DATA_PATH /alidata/www/dou/runtime/data/
UPLOAD_PATH /alidata/www/dou/public/uploads
SHOP_STOCK_TIME 1800
SHOP_EVENT_TYPE 0
COLLAGE_EVENT_TYPE 1
SECKILL_EVENT_TYPE 2
HAGGLE_EVENT_TYPE 3
AUCTION_EVENT_TYPE 4
MODEL_INSERT 1
MODEL_UPDATE 2
MODEL_BOTH 3
REMOTE_BASE_URL https://www.weiphp.cn
WAP_URL http://dou.weiphp.cn/wap/index.html
PHP_OS_FAMILY Linux
MODULE_NAME home
CONTROLLER_NAME Index
ACTION_NAME index
ADDON_PUBLIC_PATH /home
NOW_TIME 1710841179
IS_GET true
IS_POST false
IS_AJAX false
__SELF__ /
PBID 0
WPID Resource
SITE_VERSION 1710841179