[10501] PDOException in Connection.php line 385

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

  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('SHOW COLUMNS FROM `g...', [], false, true) in Mysql.php line 65
  3. at Mysql->getFields('`gs_theme_file`') in Query.php line 1921
  4. at Query->getTableInfo('gs_theme_file', 'pk') in Query.php line 1955
  5. at Query->getPk(['multi' => ['AND' => ['theme' => ['gscm'], 'file' => ['portal/about']]], 'where' => ['AND' => ['theme' => 'gscm', 'file' => 'portal/about']], 'table' => 'gs_theme_file', ...]) in Query.php line 2639
  6. at Query->find() in ThemeModel.php line 108
  7. at ThemeModel->updateThemeFiles('gscm') in ThemeModel.php line 51
  8. at ThemeModel->updateTheme('gscm') in HomeBaseController.php line 183
  9. at HomeBaseController->getThemeFileMore('/www/wwwroot/www.gst...') in HomeBaseController.php line 86
  10. at HomeBaseController->fetch('/www/wwwroot/www.gst...') in IndexController.php line 19
  11. at IndexController->index()
  12. at ReflectionMethod->invokeArgs(object(IndexController), []) in App.php line 343
  13. at App::invokeMethod([object(IndexController), 'index'], []) in App.php line 611
  14. at App::module(['', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], true) in App.php line 456
  15. at App::exec(['type' => 'module', 'module' => ['', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 139
  16. at App::run() in index.php line 47

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 `gs_theme_file`
Database Config
type mysql
hostname 127.0.0.1
database gstv.com
hostport 3306
dsn
params []
charset utf8mb4
prefix gs_
debug true
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
result_type 2
resultset_type collection
auto_timestamp false
datetime_format false
sql_explain true
builder
query \think\db\Query
break_reconnect false
authcode tNuZh0W9ivyDmvPpwE

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
szgstv.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
szgstv.com
SERVER_PORT
80
SERVER_ADDR
172.31.110.75
REMOTE_PORT
35924
REMOTE_ADDR
54.226.226.30
SERVER_SOFTWARE
nginx/1.16.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.gstv.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/www.gstv.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711643825.0473
REQUEST_TIME
1711643825
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
/www/wwwroot/www.gstv.com/public/../
CMF_DATA
/www/wwwroot/www.gstv.com/public/../data/
APP_PATH
/www/wwwroot/www.gstv.com/public/../app/
CMF_PATH
/www/wwwroot/www.gstv.com/public/../simplewind/cmf/
WEB_ROOT
/www/wwwroot/www.gstv.com/public/
PLUGINS_PATH
/www/wwwroot/www.gstv.com/public/plugins/
EXTEND_PATH
/www/wwwroot/www.gstv.com/public/../simplewind/extend/
VENDOR_PATH
/www/wwwroot/www.gstv.com/public/../simplewind/vendor/
RUNTIME_PATH
/www/wwwroot/www.gstv.com/public/../data/runtime/
THINKCMF_VERSION
5.0.190419
THINK_VERSION
5.0.24
THINK_START_TIME
1711643825.0477
THINK_START_MEM
377232
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.gstv.com/simplewind/thinkphp/
LIB_PATH
/www/wwwroot/www.gstv.com/simplewind/thinkphp/library/
CORE_PATH
/www/wwwroot/www.gstv.com/simplewind/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.gstv.com/simplewind/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.gstv.com/
LOG_PATH
/www/wwwroot/www.gstv.com/public/../data/runtime/log/
CACHE_PATH
/www/wwwroot/www.gstv.com/public/../data/runtime/cache/
TEMP_PATH
/www/wwwroot/www.gstv.com/public/../data/runtime/temp/
CONF_PATH
/www/wwwroot/www.gstv.com/public/../app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/www.gstv.com/simplewind/vendor/ezyang/htmlpurifier/library
0.027347s