[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 `f...', [], false, true) in Mysql.php line 65
  3. at Mysql->getFields('`fa_cms_channel`') in Query.php line 1921
  4. at Query->getTableInfo('fa_cms_channel', 'pk') in Query.php line 1955
  5. at Query->getPk() in Model.php line 996
  6. at Model->getPk() in Model.php line 2039
  7. at Model->belongsTo('addons\cms\model\Cha...') in Archives.php line 499
  8. at Archives->channel() in Query.php line 2099
  9. at Query->with(['channel'])
  10. at call_user_func_array([object(Query), 'with'], [['channel']]) in Model.php line 2206
  11. at Model::__callStatic('with', [['channel']]) in Model.php line 1739
  12. at Model::parseQuery('2215', ['channel'], false) in Model.php line 1706
  13. at Model::get('2215', ['channel']) in Archives.php line 29
  14. at Archives->index()
  15. at call_user_func_array([object(Archives), 'index'], []) in Route.php line 76
  16. at Route->execute('cms', 'archives', 'index')
  17. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'archives', 'index']) in App.php line 343
  18. at App::invokeMethod(['\think\addons\Route', 'execute'], ['diyname' => '2215', 'addon' => 'cms', 'controller' => 'archives', ...]) in App.php line 470
  19. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'cms', 'controller' => 'archives', 'action' => 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  20. at App::run() in start.php line 19
  21. at require('/mnt/tzgjjt.wunuoyou...') in index.php line 25

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 `fa_cms_channel`
Database Config
type mysql
hostname 127.0.0.1
database tzgjjt_wunuoyoup
hostport
dsn
params []
charset utf8
prefix fa_
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 false
sql_explain false
builder
query \think\db\Query
break_reconnect false

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
0l9nouemeu9c3cc48s89gc89u8
Session
empty

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/cms/a/2215.html
QUERY_STRING
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_URL
/cms/a/2215.html
REMOTE_PORT
56148
SCRIPT_FILENAME
/mnt/tzgjjt.wunuoyoupin.com/public/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/mnt/tzgjjt.wunuoyoupin.com/public
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/mnt/tzgjjt.wunuoyoupin.com/public
REMOTE_ADDR
205.164.48.114
SERVER_PORT
80
SERVER_ADDR
172.16.186.213
SERVER_NAME
www.tzgjjt.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
Apache Server at www.tzgjjt.com Port 80
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_COOKIE
PHPSESSID=0l9nouemeu9c3cc48s89gc89u8
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.tzgjjt.com
HTTP_USER_AGENT
Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)
proxy-nokeepalive
1
REDIRECT_STATUS
200
REDIRECT_PATH_INFO
cms/a/2215.html
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1709900344.6415
REQUEST_TIME
1709900344
PATH_INFO
cms/a/2215.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/mnt/tzgjjt.wunuoyoupin.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1709900344.642
THINK_START_MEM
405032
EXT
.php
DS
/
THINK_PATH
/mnt/tzgjjt.wunuoyoupin.com/thinkphp/
LIB_PATH
/mnt/tzgjjt.wunuoyoupin.com/thinkphp/library/
CORE_PATH
/mnt/tzgjjt.wunuoyoupin.com/thinkphp/library/think/
TRAIT_PATH
/mnt/tzgjjt.wunuoyoupin.com/thinkphp/library/traits/
ROOT_PATH
/mnt/tzgjjt.wunuoyoupin.com/
EXTEND_PATH
/mnt/tzgjjt.wunuoyoupin.com/extend/
VENDOR_PATH
/mnt/tzgjjt.wunuoyoupin.com/vendor/
RUNTIME_PATH
/mnt/tzgjjt.wunuoyoupin.com/runtime/
LOG_PATH
/mnt/tzgjjt.wunuoyoupin.com/runtime/log/
CACHE_PATH
/mnt/tzgjjt.wunuoyoupin.com/runtime/cache/
TEMP_PATH
/mnt/tzgjjt.wunuoyoupin.com/runtime/temp/
CONF_PATH
/mnt/tzgjjt.wunuoyoupin.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/mnt/tzgjjt.wunuoyoupin.com/addons/
Baidu
sogou