[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 `s...', [], false, true) in Mysql.php line 90
  3. at Mysql->getFields('s_link') in Connection.php line 377
  4. at Connection->getTableInfo('s_link', 'bind') in Connection.php line 454
  5. at Connection->getFieldsBind('s_link') in Builder.php line 292
  6. at Builder->buildWhere(object(Query), ['AND' => [['is_enable', '=', 1]]]) in Builder.php line 264
  7. at Builder->parseWhere(object(Query), ['AND' => [['is_enable', '=', 1]]]) in Builder.php line 989
  8. at Builder->select(object(Query)) in Connection.php line 908
  9. at Connection->select(object(Query)) in Query.php line 2996
  10. at Query->select() in LinkService.php line 37
  11. at LinkService::LinkList(['where' => ['is_enable' => 1]]) in Common.php line 289
  12. at Common->ViewInit() in Common.php line 75
  13. at Common->__construct() in Search.php line 38
  14. at Search->__construct()
  15. at ReflectionClass->newInstanceArgs([]) in Container.php line 439
  16. at Container->invokeClass('app\index\controller...', []) in Container.php line 284
  17. at Container->make('app\index\controller...', true) in App.php line 725
  18. at App->controller('search', 'controller', false, 'Error') in Module.php line 95
  19. at Module->exec() in Dispatch.php line 168
  20. at Dispatch->run() in App.php line 432
  21. at App->think\{closure}(object(Request), object(Closure), null)
  22. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  23. at Middleware->think\{closure}(object(Request)) in SystemEnvCheck.php line 42
  24. at SystemEnvCheck->handle(object(Request), object(Closure), null)
  25. at call_user_func_array([object(SystemEnvCheck), 'handle'], [object(Request), object(Closure), null]) in Middleware.php line 185
  26. at Middleware->think\{closure}(object(Request))
  27. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  28. at Middleware->dispatch(object(Request)) in App.php line 435
  29. at App->run() in index.php line 24
  30. at require('/home/wwwroot/defaul...') in index.php line 16

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 `s_link`
Database Config
type mysql
hostname 127.0.0.1
database do
hostport 3306
dsn
params { "8": 2, "20": true }
charset utf8mb4
prefix s_
debug true
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
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 []

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /home/wwwroot/default/index.php
QUERY_STRING s=/index/search/index/category_id/1138.html
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /index.php?s=/index/search/index/category_id/1138.html
DOCUMENT_URI /index.php
DOCUMENT_ROOT /home/wwwroot/default
SERVER_PROTOCOL HTTP/1.1
REQUEST_SCHEME http
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.20.1
REMOTE_ADDR 3.230.128.106
REMOTE_PORT 58356
SERVER_ADDR 107.182.177.114
SERVER_PORT 80
SERVER_NAME _
REDIRECT_STATUS 200
PHP_ADMIN_VALUE open_basedir=/home/wwwroot/default/:/tmp/:/proc/
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www.desertorient.com
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710840624.1143
REQUEST_TIME 1710840624
Environment Variablesempty
ThinkPHP Constants
IS_ROOT_ACCESS true
APPLICATION_VERSION v1.6.0
DS /
__MY_HTTP__ http
__MY_ROOT__
__MY_ROOT_PUBLIC__ /public/
__MY_HOST__ www.desertorient.com
__MY_URL__ http://www.desertorient.com/
__MY_PUBLIC_URL__ http://www.desertorient.com/public/
__MY_VIEW_URL__ http://www.desertorient.com/index.php?s=/index/search/index/category_id/1138.html
ROOT_PATH /home/wwwroot/default/public/
ROOT /home/wwwroot/default/
APP_PATH /home/wwwroot/default/application/
APPLICATION web
APPLICATION_CLIENT_TYPE pc
IS_AJAX false