[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 `c...', [], false, true) in Mysql.php line 65
  3. at Mysql->getFields('`cms_category`') in Query.php line 1921
  4. at Query->getTableInfo('cms_category', 'type') in Query.php line 1969
  5. at Query->getFieldsType('cms_category') in Query.php line 1975
  6. at Query->getFieldsBind('cms_category') in Builder.php line 270
  7. at Builder->buildWhere([], ['table' => 'cms_category', 'field' => ['id', 'ename'], 'where' => [], ...]) in Builder.php line 240
  8. at Builder->parseWhere([], ['table' => 'cms_category', 'field' => ['id', 'ename'], 'where' => [], ...]) in Builder.php line 719
  9. at Builder->select(['table' => 'cms_category', 'field' => ['id', 'ename'], 'where' => [], ...]) in Query.php line 2511
  10. at Query->select() in route.php line 5
  11. at include('/www/wwwroot/obentec...') in App.php line 641
  12. at App::routeCheck(object(Request), ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 116
  13. at App::run() in start.php line 19
  14. at require('/www/wwwroot/obentec...') in index.php line 18

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 `cms_category`
Database Config
type mysql
hostname 127.0.0.1
database obentec_com
hostport 3306
dsn
params []
charset utf8
prefix cms_
debug true
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 Y-m-d H:i:s
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_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
www.tankroller.com
PATH_INFO
/productnews/welding-positioner10/
REDIRECT_STATUS
200
SERVER_NAME
www.tankroller.com
SERVER_PORT
443
SERVER_ADDR
192.168.0.46
REMOTE_PORT
46146
REMOTE_ADDR
54.224.52.210
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/obentec.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/productnews/welding-positioner10/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/productnews/welding-positioner10/
SCRIPT_FILENAME
/www/wwwroot/obentec.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711779775.4892
REQUEST_TIME
1711779775
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/obentec.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711779775.4896
THINK_START_MEM
378880
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/obentec.com/thinkphp/
LIB_PATH
/www/wwwroot/obentec.com/thinkphp/library/
CORE_PATH
/www/wwwroot/obentec.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/obentec.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/obentec.com/
EXTEND_PATH
/www/wwwroot/obentec.com/extend/
VENDOR_PATH
/www/wwwroot/obentec.com/vendor/
RUNTIME_PATH
/www/wwwroot/obentec.com/runtime/
LOG_PATH
/www/wwwroot/obentec.com/runtime/log/
CACHE_PATH
/www/wwwroot/obentec.com/runtime/cache/
TEMP_PATH
/www/wwwroot/obentec.com/runtime/temp/
CONF_PATH
/www/wwwroot/obentec.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false