[HY000] PDOException in Mysql.php line 65

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

  1. if (false === strpos($tableName, '`')) {
  2. if (strpos($tableName, '.')) {
  3. $tableName = str_replace('.', '`.`', $tableName);
  4. }
  5. $tableName = '`' . $tableName . '`';
  6. }
  7. $sql = 'SHOW COLUMNS FROM ' . $tableName;
  8. // 调试开始
  9. $this->debug(true);
  10. $pdo = $this->linkID->query($sql);
  11. // 调试结束
  12. $this->debug(false, $sql);
  13. $result = $pdo->fetchAll(PDO::FETCH_ASSOC);
  14. $info = [];
  15. if ($result) {
  16. foreach ($result as $key => $val) {
  17. $val = array_change_key_case($val);
  18. $info[$val['field']] = [
  19. 'name' => $val['field'],

Call Stack

  1. in Mysql.php line 65
  2. at PDO->query('SHOW COLUMNS FROM `s...') in Mysql.php line 65
  3. at Mysql->getFields('`setting`') in Query.php line 1739
  4. at Query->getTableInfo('setting', 'pk') in Query.php line 1773
  5. at Query->getPk(['table' => 'setting', 'where' => [], 'field' => '*', ...]) in Query.php line 2427
  6. at Query->find()
  7. at call_user_func_array([object(Query), 'find'], []) in Model.php line 1952
  8. at Model->__call('find', []) in Intauth.php line 59
  9. at Intauth->checkIsLogin() in Intauth.php line 30
  10. at Intauth->_initialize() in Controller.php line 56
  11. at Controller->__construct(object(Request))
  12. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 215
  13. at App::invokeClass('app\index\controller...') in Loader.php line 420
  14. at Loader::controller('product', 'controller', false, 'Error') in App.php line 386
  15. at App::module(['index', 'product', 'productDetail'], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...], false) in App.php line 295
  16. at App::exec(['type' => 'module', 'module' => ['index', 'product', 'productDetail'], 'convert' => false], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...]) in App.php line 123
  17. at App::run() in start.php line 18
  18. at require('D:\wwwroot\wzxchem.c...') in index.php line 17

Environment Variables

GET Data

id
34270
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
BT_PANEL
D:\BtSoft\panel
BT_PYTHON
C:\Program Files\python
BT_SETUP
D:\BtSoft
CommonProgramFiles
C:\Program Files\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
iZrs6bxtyd6f4sZ
ComSpec
C:\Windows\system32\cmd.exe
CURL_HOME
D:\tool\curl\bin
JAVA_HOME
C:\Program Files\Java\jdk-11\
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
MSMPI_BIN
C:\Program Files\Microsoft MPI\Bin\
NUMBER_OF_PROCESSORS
8
OS
Windows_NT
Path
C:\Program Files\Microsoft MPI\Bin\;D:\tool\curl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Java\jdk-11\bin\;C:\Program Files\nodejs\;C:\Program Files\python;C:\Program Files\python\Scripts;D:\BtSoft\panel\script;C:\Program Files\python;C:\Program Files\python\Scripts;D:\BtSoft\panel\script;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\Azure Data Studio\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 85 Stepping 7, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
5507
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\PowerShell\Modules\
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
UNRAR_LIB_PATH
C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
USERDOMAIN
WORKGROUP
USERNAME
iZrs6bxtyd6f4sZ$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
HTTP_X_MICROSOFTAJAX
Delta=true
HTTP_USER_AGENT
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded; charset=utf-8
HTTP_CACHE_CONTROL
no-cache
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_X_APPLE_STORE_FRONT
143444,12
HTTP_X_APPLE_TZ
0
HTTP_REFERER
https://www.baidu.com/search/spider.htm
HTTP_HOST
jjjceo.com
REDIRECT_STATUS
200
SERVER_NAME
jjjceo.com
SERVER_PORT
80
SERVER_ADDR
172.18.36.180
REMOTE_PORT
55600
REMOTE_ADDR
196.63.152.66
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
D:/wwwroot/jjjceo.com
DOCUMENT_URI
/index.php
REQUEST_URI
/productDetail.html?id=34270
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded; charset=utf-8
REQUEST_METHOD
GET
QUERY_STRING
s=/productDetail.html&id=34270
PATH_INFO
/productDetail.html
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
D:/wwwroot/jjjceo.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1734907043.4971
REQUEST_TIME
1734907043
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\wwwroot\jjjceo.com/application/
THINK_VERSION
5.0.9
THINK_START_TIME
1734907043.4982
THINK_START_MEM
393464
EXT
.php
DS
\
THINK_PATH
D:\wwwroot\jjjceo.com\thinkphp\
LIB_PATH
D:\wwwroot\jjjceo.com\thinkphp\library\
CORE_PATH
D:\wwwroot\jjjceo.com\thinkphp\library\think\
TRAIT_PATH
D:\wwwroot\jjjceo.com\thinkphp\library\traits\
ROOT_PATH
D:\wwwroot\jjjceo.com\
EXTEND_PATH
D:\wwwroot\jjjceo.com\extend\
VENDOR_PATH
D:\wwwroot\jjjceo.com\vendor\
RUNTIME_PATH
D:\wwwroot\jjjceo.com\runtime\
LOG_PATH
D:\wwwroot\jjjceo.com\runtime\log\
CACHE_PATH
D:\wwwroot\jjjceo.com\runtime\cache\
TEMP_PATH
D:\wwwroot\jjjceo.com\runtime\temp\
CONF_PATH
D:\wwwroot\jjjceo.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true