[10501] PDOException in Connection.php line 687

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

  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 `j...', [], false, true) in Mysql.php line 90
  3. at Mysql->getFields('`jy_menu`') in Connection.php line 377
  4. at Connection->getTableInfo('jy_menu', 'bind') in Connection.php line 454
  5. at Connection->getFieldsBind('jy_menu') in Builder.php line 292
  6. at Builder->buildWhere(object(Query), ['AND' => [['m_id', '=', '5']]]) in Builder.php line 264
  7. at Builder->parseWhere(object(Query), ['AND' => [['m_id', '=', '5']]]) in Builder.php line 991
  8. at Builder->select(object(Query)) in Connection.php line 908
  9. at Connection->select(object(Query)) in Query.php line 3006
  10. at Query->select() in Common.php line 13
  11. at Common->initialize() in Controller.php line 68
  12. at Controller->__construct(object(App))
  13. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 439
  14. at Container->invokeClass('app\home\controller\...', []) in Container.php line 284
  15. at Container->make('app\home\controller\...', []) in App.php line 725
  16. at App->controller('index', 'controller', false, 'Error') in Module.php line 95
  17. at Module->exec() in Dispatch.php line 168
  18. at Dispatch->run() in App.php line 432
  19. at App->think\{closure}(object(Request), object(Closure), null)
  20. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  21. at Middleware->think\{closure}(object(Request))
  22. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  23. at Middleware->dispatch(object(Request)) in App.php line 435
  24. at App->run() in index.php line 21

Exception Datas

PDO Error Info
SQLSTATE
42S02
Driver Error Code
1146
Driver Error Message
Table 'jy_silingsi_com.jy_menu' doesn't exist
Database Status
Error Code
10501
Error Message
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jy_silingsi_com.jy_menu' doesn't exist
Error SQL
SHOW COLUMNS FROM `jy_menu`
Database Config
type
mysql
hostname
116.62.20.170
database
jy_silingsi_com
hostport
3306
dsn
params
[]
charset
utf8
prefix
jy_
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
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.junyiyueqi.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
www.junyiyueqi.com
SERVER_PORT
80
SERVER_ADDR
172.16.220.176
REMOTE_PORT
20000
REMOTE_ADDR
175.29.96.84
SERVER_SOFTWARE
nginx/1.17.4
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.junyiyueqi.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/home/index/GetNewsContent/id/23/m/5
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/home/index/GetNewsContent/id/23/m/5
SCRIPT_FILENAME
/www/wwwroot/www.junyiyueqi.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1606529808.6117
REQUEST_TIME
1606529808
Environment Variablesempty
ThinkPHP Constantsempty