[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('`web`') in Connection.php line 377
  4. at Connection->getTableInfo('web', 'pk') in Connection.php line 414
  5. at Connection->getPk('web') in Query.php line 2452
  6. at Query->getPk(['where' => ['AND' => [['type', '=', 7, ...]]], 'table' => 'web', 'field' => '*', ...]) in Connection.php line 793
  7. at Connection->find(object(Query)) in Query.php line 3130
  8. at Query->find() in Base.php line 23
  9. at Base->__construct()
  10. at ReflectionClass->newInstanceArgs([]) in Container.php line 439
  11. at Container->invokeClass('app\web\controller\A...', []) in Container.php line 284
  12. at Container->make('app\web\controller\A...', []) in App.php line 725
  13. at App->controller('aboutus', 'controller', false, 'Error') in Module.php line 95
  14. at Module->exec() in Dispatch.php line 168
  15. at Dispatch->run() in App.php line 432
  16. at App->think\{closure}(object(Request), object(Closure), null)
  17. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  18. at Middleware->think\{closure}(object(Request))
  19. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  20. at Middleware->dispatch(object(Request)) in App.php line 435
  21. at App->run() in index.php line 21

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 `web`
Database Config
type mysql
hostname 112.126.101.124
database xyg
hostport 3306
dsn
params []
charset utf8
prefix
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 []
xzd_redis_config { "hostname": "127.0.0.1", "hostport": "6379", "password": "xinyonggong@123", "database": 0 }

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST xinyonggong.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME www.xinyonggong.com
SERVER_PORT 80
SERVER_ADDR 172.17.197.174
REMOTE_PORT 22942
REMOTE_ADDR 3.144.189.177
SERVER_SOFTWARE nginx/1.6.3
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /vhost/xyg/public
DOCUMENT_URI /index.php/web/aboutus/index
REQUEST_URI /index.php/web/aboutus/index
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
PATH_TRANSLATED /vhost/xyg/public/web/aboutus/index
PATH_INFO /web/aboutus/index
SCRIPT_FILENAME /vhost/xyg/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php/web/aboutus/index
REQUEST_TIME_FLOAT 1713454361.1915
REQUEST_TIME 1713454361
Environment Variablesempty
ThinkPHP Constants
SWOOLE_LIBRARY true