[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 `c...') in Mysql.php line 65
  3. at Mysql->getFields('channel') in Query.php line 1721
  4. at Query->getTableInfo('channel', 'type') in Query.php line 1769
  5. at Query->getFieldsType(['table' => 'channel', 'where' => [], 'field' => '*', ...]) in Query.php line 1775
  6. at Query->getFieldsBind(['table' => 'channel', 'where' => [], 'field' => '*', ...]) in Builder.php line 245
  7. at Builder->buildWhere([], ['table' => 'channel', 'where' => [], 'field' => '*', ...]) in Builder.php line 223
  8. at Builder->parseWhere([], ['table' => 'channel', 'where' => [], 'field' => '*', ...]) in Builder.php line 658
  9. at Builder->select(['table' => 'channel', 'where' => [], 'field' => '*', ...]) in Query.php line 2284
  10. at Query->select() in Index.php line 20
  11. at Index->__construct(object(Request))
  12. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 243
  13. at App::invokeClass('app\front\controller...') in Loader.php line 420
  14. at Loader::controller('index', 'controller', false, 'Error') in App.php line 367
  15. at App::module(['front', 'index', 'detail'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 130
  16. at App::run() in start.php line 18
  17. at require('/home/wwwroot/kolaga...') in index.php line 23

Environment Variables

GET Data

key
Magic-Bridge
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/home/wwwroot/kolagames.com/www/index.php
QUERY_STRING
s=index/detail&key=Magic-Bridge
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/game/Magic-Bridge
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/home/wwwroot/kolagames.com/www
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.10.0
REMOTE_ADDR
3.145.42.131
REMOTE_PORT
SERVER_ADDR
104.236.55.116
SERVER_PORT
80
SERVER_NAME
kolagames.com
REDIRECT_STATUS
200
HTTP_HOST
kolagames.com
HTTP_CONNECTION
Keep-Alive
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_X_FORWARDED_FOR
3.145.42.131
HTTP_CF_RAY
87661e3d6a67023b-EWR
HTTP_X_FORWARDED_PROTO
https
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_CF_CONNECTING_IP
3.145.42.131
HTTP_CDN_LOOP
cloudflare
HTTP_CF_IPCOUNTRY
US
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1713458651.7703
REQUEST_TIME
1713458651
PATH_INFO
index/detail
Environment Variables
empty

ThinkPHP Constants

BIND_MODULE
front
TMPL_PATH
/home/wwwroot/kolagames.com/www/../template/
APP_PATH
/home/wwwroot/kolagames.com/www/../application/
THINK_VERSION
5.0.7
THINK_START_TIME
1713458651.7707
THINK_START_MEM
264952
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/kolagames.com/thinkphp/
LIB_PATH
/home/wwwroot/kolagames.com/thinkphp/library/
CORE_PATH
/home/wwwroot/kolagames.com/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/kolagames.com/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/kolagames.com/
EXTEND_PATH
/home/wwwroot/kolagames.com/extend/
VENDOR_PATH
/home/wwwroot/kolagames.com/vendor/
RUNTIME_PATH
/home/wwwroot/kolagames.com/runtime/
LOG_PATH
/home/wwwroot/kolagames.com/runtime/log/
CACHE_PATH
/home/wwwroot/kolagames.com/runtime/cache/
TEMP_PATH
/home/wwwroot/kolagames.com/runtime/temp/
CONF_PATH
/home/wwwroot/kolagames.com/www/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
UPLOAD_PATH
/home/wwwroot/kolagames.com/public/uploads
STATIC_URL
https://cdn1.hoopgame.net
ASSETS_URL
/assets/