[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 `c...', [], false, true) in Mysql.php line 90
  3. at Mysql->getFields('`cspc_conf`') in Connection.php line 377
  4. at Connection->getTableInfo('cspc_conf', 'bind') in Connection.php line 454
  5. at Connection->getFieldsBind('cspc_conf') in Builder.php line 292
  6. at Builder->buildWhere(object(Query), ['AND' => [['site_id', '=', 1], ['ename', '=', 'template']]]) in Builder.php line 264
  7. at Builder->parseWhere(object(Query), ['AND' => [['site_id', '=', 1], ['ename', '=', 'template']]]) in Builder.php line 991
  8. at Builder->select(object(Query)) in Connection.php line 1277
  9. at Connection->value(object(Query), ['value'], null) in Query.php line 594
  10. at Query->value('value') in Common.php line 27
  11. at Common->template() in Common.php line 14
  12. at Common->initialize() in Controller.php line 68
  13. at Controller->__construct(object(App))
  14. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 439
  15. at Container->invokeClass('app\index\controller...', []) in Container.php line 284
  16. at Container->make('app\index\controller...', []) in App.php line 725
  17. at App->controller('cate', 'controller', false, 'Error') in Module.php line 95
  18. at Module->exec() in Dispatch.php line 168
  19. at Dispatch->run() in App.php line 432
  20. at App->think\{closure}(object(Request), object(Closure), null)
  21. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  22. at Middleware->think\{closure}(object(Request))
  23. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  24. at Middleware->dispatch(object(Request)) in App.php line 435
  25. 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 `cspc_conf`
Database Config
type
mysql
hostname
localhost
database
ecspc_com
hostport
dsn
params
[]
charset
utf8
prefix
cspc_
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
SCRIPT_NAME
/index.php
REQUEST_URI
/cate/id/32.html
QUERY_STRING
s=/cate/id/32.html
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=/cate/id/32.html
REDIRECT_URL
/cate/id/32.html
REMOTE_PORT
20000
SCRIPT_FILENAME
/www/wwwroot/cspccom/public/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/cspccom/public
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/www/wwwroot/cspccom/public
REMOTE_ADDR
161.123.165.88
SERVER_PORT
80
SERVER_ADDR
172.16.10.101
SERVER_NAME
www.e-cspc.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at www.e-cspc.com Port 80</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.e-cspc.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
proxy-nokeepalive
1
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1585878643.756
REQUEST_TIME
1585878643
Environment Variablesempty
ThinkPHP Constantsempty