[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 `s...', [], false, true) in Mysql.php line 65
  3. at Mysql->getFields('shopnc_industry') in Query.php line 1921
  4. at Query->getTableInfo('shopnc_industry', 'type') in Query.php line 1969
  5. at Query->getFieldsType('shopnc_industry') in Query.php line 1975
  6. at Query->getFieldsBind('shopnc_industry') in Builder.php line 270
  7. at Builder->buildWhere([], ['field' => ['*'], 'order' => ['add_time desc'], 'table' => 'shopnc_industry', ...]) in Builder.php line 240
  8. at Builder->parseWhere([], ['field' => ['*'], 'order' => ['add_time desc'], 'table' => 'shopnc_industry', ...]) in Builder.php line 719
  9. at Builder->select(['field' => ['*'], 'order' => ['add_time desc'], 'table' => 'shopnc_industry', ...]) in Query.php line 2511
  10. at Query->select() in Industry.php line 22
  11. at Industry->getList() in BaseHomeControl.php line 41
  12. at BaseHomeControl->__construct() in Exh.php line 15
  13. at Exh->__construct()
  14. at ReflectionClass->newInstanceArgs([]) in App.php line 355
  15. at App::invokeClass('app\index\controller...') in Loader.php line 479
  16. at Loader::controller('exh', 'controller', false, 'Error') in App.php line 577
  17. at App::module(['index', 'exh', 'exh_info'], ['app_host' => '', 'app_debug' => 1, 'app_trace' => 0, ...], null) in App.php line 453
  18. at App::exec(['type' => 'module', 'module' => ['index', 'exh', 'exh_info']], ['app_host' => '', 'app_debug' => 1, 'app_trace' => 0, ...]) in App.php line 135
  19. at App::run() in start.php line 19
  20. at require('C:\wamp\www\hztx2\th...') 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 `shopnc_industry`
Database Config
type
mysql
hostname
127.0.0.1
database
b2b2c_hztx
hostport
3306
dsn
params
[]
charset
utf8
prefix
shopnc_
debug
false
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

exh_id
1061
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

REDIRECT_STATUS
200
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.hztx8.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PATH
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
SystemRoot
C:\Windows
COMSPEC
C:\Windows\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\Windows
SERVER_SIGNATURE
<address>Apache/2.4.9 (Win64) PHP/5.5.12 Server at www.hztx8.com Port 80</address>
SERVER_SOFTWARE
Apache/2.4.9 (Win64) PHP/5.5.12
SERVER_NAME
www.hztx8.com
SERVER_ADDR
172.18.180.219
SERVER_PORT
80
REMOTE_ADDR
154.221.113.27
DOCUMENT_ROOT
C:/wamp/www/hztx2/public
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
C:/wamp/www/hztx2/public
SERVER_ADMIN
webmaster@smallco.example.com
SCRIPT_FILENAME
C:/wamp/www/hztx2/public/index.php
REMOTE_PORT
20001
REDIRECT_QUERY_STRING
exh_id=1061
REDIRECT_URL
/index/exh/exh_info.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
exh_id=1061
REQUEST_URI
/index/exh/exh_info.html?exh_id=1061
SCRIPT_NAME
/index.php
PATH_INFO
/index/exh/exh_info.html
PATH_TRANSLATED
redirect:\index.php\index\exh\exh_info.html\exh\exh_info.html
PHP_SELF
/index.php/index/exh/exh_info.html
REQUEST_TIME_FLOAT
1579947737.132
REQUEST_TIME
1579947737
Environment Variables
empty

ThinkPHP Constants

APP_PATH
C:\wamp\www\hztx2\public/../application/
CONF_PATH
C:\wamp\www\hztx2\public/../config/
THINK_VERSION
5.0.23
THINK_START_TIME
1579947737.1459
THINK_START_MEM
277448
EXT
.php
DS
\
THINK_PATH
C:\wamp\www\hztx2\thinkphp\
LIB_PATH
C:\wamp\www\hztx2\thinkphp\library\
CORE_PATH
C:\wamp\www\hztx2\thinkphp\library\think\
TRAIT_PATH
C:\wamp\www\hztx2\thinkphp\library\traits\
ROOT_PATH
C:\wamp\www\hztx2\
EXTEND_PATH
C:\wamp\www\hztx2\extend\
VENDOR_PATH
C:\wamp\www\hztx2\vendor\
RUNTIME_PATH
C:\wamp\www\hztx2\runtime\
LOG_PATH
C:\wamp\www\hztx2\runtime\log\
CACHE_PATH
C:\wamp\www\hztx2\runtime\cache\
TEMP_PATH
C:\wamp\www\hztx2\runtime\temp\
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
ADMIN_TEMPLATES_URL
/static/admin
MODULES_TEMPLATES_URL
/static/modules
SHOP_TEMPLATES_URL
/static/shop
PHONE_TEMPLATES_URL
/static/phone
PHONE_TEMPLATES
/static/phone/
SHOP_RESOURCE_SITE_URL
/static/shop/resource
RESOURCE_SITE_URL
/static/data/resource
CHARSET
utf-8
COOKIE_PRE
75171_
SHOP_SITE_URL
http://www.hztx8.com
PHONE_SITE_URL
http://www.hztx8.com/phone/
UPLOAD_SITE_URL
/upload
ATTACH_COMMON
shop/common
BASE_UPLOAD_PATH
C:\wamp\www\hztx2\/public/upload
BASE_ROOT_PATH
C:\wamp\www\hztx2\/public
BASE_DATA_PATH
C:\wamp\www\hztx2\/public/data
BASE_RESOURCE_PATH
C:\wamp\www\hztx2\/public/static/data/resource
ATTACH_ARTICLE
shop/article
ATTACH_ADV
shop/adv
DEMAND_PIC
demand/detail
DEMAND_MAIN
demand/demand_main
ATTACH_SLIDE
shop/store/slide
ATTACH_PATH
shop
ATTACH_MALBUM
shop/member
ATTACH_MALBUM_STORE
shop/member_info
MOBILE_HOME
mobile/home
ADMIN_RESOURCE_SITE_URL
C:\wamp\www\hztx2\/public/static/data/resource
ADMIN_SITE_URL
http://www.hztx8.com/admin
GOODS_IMAGES_WIDTH
60,240,360,600,800,1280
GOODS_IMAGES_HEIGHT
60,240,360,600,800,12800
GOODS_IMAGES_EXT
_60,_240,_360,_600,_800,_1280
SESSION_EXPIRE
3600
ATTACH_MEMBERTAG
shop/membertag
ATTACH_STORE
shop/store
ATTACH_GOODS
shop/store/goods
ATTACH_BRANCH
shop/store/branch
ATTACH_STORE_JOININ
shop/store_joinin
ATTACH_LOGIN
shop/login
TIMESTAMP
1579947737
MD5_KEY
94e22c670dfde7e3bf5b9b66f3da28c1
ATTACH_BRAND
shop/brand
ATTACH_AVATAR
/avatar
ATTACH_MOBILE
mobile
STORE_JOIN_STATE_NEW
10
STORE_JOIN_STATE_PAY
11
DEFAULT_PLATFORM_STORE_ID
1
ORDER_STATE_CANCEL
0
ORDER_STATE_NEW
10
ORDER_STATE_PAY
20
ORDER_STATE_WORK
25
ORDER_STATE_SEND
30
ORDER_STATE_SUCCESS
40
ORDER_STATE_DELETE
50
ORDER_EVALUATE_TIME
1296000
GROUP_1
1
GROUP_2
2
GROUP_3
3
GROUP_4
4
GROUP_5
5