#0 [10501]PDOException in PDOConnection.php line 836

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'gcgl_mcruanjian_.mc_user_rule' doesn't exist

  1. } else {
  2. if ($this->reConnectTimes < 4 && $this->isBreak($e)) {
  3. $this->reConnectTimes++;
  4. return $this->close()->getPDOStatement($sql, $bind, $master, $procedure);
  5. }
  6. }
  7. if ($e instanceof \PDOException) {
  8. throw new PDOException($e, $this->config, $this->getLastsql());
  9. } else {
  10. throw $e;
  11. }
  12. }
  13. }
  14. /**
  15. * 执行语句.
  16. *

Call Stack

  1. in PDOConnection.php line 836
  2. at PDOConnection->getPDOStatement() in Mysql.php line 68
  3. at Mysql->getFields() in PDOConnection.php line 438
  4. at PDOConnection->getTableFieldsInfo() in PDOConnection.php line 395
  5. at PDOConnection->getCachedSchemaInfo() in PDOConnection.php line 360
  6. at PDOConnection->getSchemaInfo() in PDOConnection.php line 424
  7. at PDOConnection->getTableInfo() in PDOConnection.php line 476
  8. at PDOConnection->getPk() in Query.php line 327
  9. at Query->getPk() in WhereQuery.php line 45
  10. at BaseQuery->where() in Index.php line 60
  11. at Index->index()
  12. at ReflectionMethod->invokeArgs() in Container.php line 348
  13. at Container->invokeReflectMethod() in Dispatch.php line 178
  14. at Dispatch->think\route\{closure}() in Pipeline.php line 59
  15. at Pipeline->think\{closure}() in Pipeline.php line 66
  16. at Pipeline->then() in Dispatch.php line 152
  17. at Dispatch->responseWithMiddlewarePipeline() in Controller.php line 88
  18. at Controller->exec() in Dispatch.php line 56
  19. at Dispatch->run() in Route.php line 713
  20. at Route->think\{closure}() in Pipeline.php line 59
  21. at Pipeline->think\{closure}() in Pipeline.php line 66
  22. at Pipeline->then() in Route.php line 712
  23. at Route->dispatch() in Http.php line 208
  24. at Http->dispatchToRoute() in Http.php line 198
  25. at Http->think\{closure}() in Pipeline.php line 59
  26. at Pipeline->think\{closure}() in MultiApp.php line 51
  27. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  28. at Pipeline->think\{closure}() in LoadLangPack.php line 53
  29. at LoadLangPack->handle()
  30. at call_user_func() in Middleware.php line 134
  31. at Middleware->think\{closure}() in Pipeline.php line 85
  32. at Pipeline->think\{closure}() in AllowCrossDomain.php line 64
  33. at AllowCrossDomain->handle()
  34. at call_user_func() in Middleware.php line 134
  35. at Middleware->think\{closure}() in Pipeline.php line 85
  36. at Pipeline->think\{closure}() in Pipeline.php line 66
  37. at Pipeline->then() in MultiApp.php line 50
  38. at MultiApp->handle()
  39. at call_user_func() in Middleware.php line 134
  40. at Middleware->think\{closure}() in Pipeline.php line 85
  41. at Pipeline->think\{closure}() in Throttle.php line 135
  42. at Throttle->handle()
  43. at call_user_func() in Middleware.php line 134
  44. at Middleware->think\{closure}() in Pipeline.php line 85
  45. at Pipeline->think\{closure}() in TraceDebug.php line 71
  46. at TraceDebug->handle()
  47. at call_user_func() in Middleware.php line 134
  48. at Middleware->think\{closure}() in Pipeline.php line 85
  49. at Pipeline->think\{closure}() in Pipeline.php line 66
  50. at Pipeline->then() in Http.php line 197
  51. at Http->runWithRequest() in Http.php line 162
  52. at Http->run() in index.php line 43

Exception Datas

PDO Error Info
SQLSTATE 42S02
Driver Error Code 1146
Driver Error Message Table 'gcgl_mcruanjian_.mc_user_rule' doesn't exist
Database Status
Error Code 10501
Error Message SQLSTATE[42S02]: Base table or view not found: 1146 Table 'gcgl_mcruanjian_.mc_user_rule' doesn't exist
Error SQL SHOW FULL COLUMNS FROM `mc_user_rule`
Database Config
type mysql
hostname 127.0.0.1
database gcgl_mcruanjian_
hostport 3306
dsn
params []
charset utf8mb4
prefix mc_
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
fields_cache false
trigger_sql true
builder
query
break_reconnect true
break_match_str []
auto_param_bind true

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
SITE_TOTAL_ID 0d7cbce860ad948447b58e8124a39ee4
thinkphp_show_page_trace 0|0
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE SITE_TOTAL_ID=0d7cbce860ad948447b58e8124a39ee4; thinkphp_show_page_trace=0|0
HTTP_PRIORITY u=0, i
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.9,ja;q=0.8
HTTP_ACCEPT_ENCODING gzip, deflate, br, zstd
HTTP_SEC_FETCH_DEST document
HTTP_SEC_FETCH_USER ?1
HTTP_SEC_FETCH_MODE navigate
HTTP_SEC_FETCH_SITE none
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_SEC_CH_UA_PLATFORM "Windows"
HTTP_SEC_CH_UA_MOBILE ?0
HTTP_SEC_CH_UA "Not(A:Brand";v="8", "Chromium";v="144", "Google Chrome";v="144"
HTTP_HOST gcgl.mcruanjian.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME gcgl.mcruanjian.cn
SERVER_PORT 443
SERVER_ADDR 192.168.0.85
REMOTE_PORT 31072
REMOTE_ADDR 216.247.52.206
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot1/gcgl.mcruanjian.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot1/gcgl.mcruanjian.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1769768087.3194
REQUEST_TIME 1769768087
0.076853s