[10501] PDOException in Connection.php line 687

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'h5.fd_exhibition_config' 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 `f...', [], false, true) in Mysql.php line 90
  3. at Mysql->getFields('fd_exhibition_config') in Connection.php line 377
  4. at Connection->getTableInfo('fd_exhibition_config', 'bind') in Connection.php line 454
  5. at Connection->getFieldsBind('fd_exhibition_config') in Builder.php line 292
  6. at Builder->buildWhere(object(Query), []) in Builder.php line 264
  7. at Builder->parseWhere(object(Query), []) in Builder.php line 989
  8. at Builder->select(object(Query)) in Connection.php line 1277
  9. at Connection->value(object(Query), 'cache_status', null) in Query.php line 594
  10. at Query->value('cache_status') in NewExhibition.php line 23
  11. at NewExhibition->checkCache()
  12. at call_user_func([object(NewExhibition), 'checkCache']) in Controller.php line 148
  13. at Controller->beforeAction('checkCache') in Controller.php line 75
  14. at Controller->__construct(object(App))
  15. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 439
  16. at Container->invokeClass('app\api\controller\N...', []) in Container.php line 284
  17. at Container->make('app\api\controller\N...', true) in App.php line 725
  18. at App->controller('NewExhibition', 'controller', false, 'Error') in Module.php line 95
  19. at Module->exec() in Dispatch.php line 168
  20. at Dispatch->run() in App.php line 432
  21. at App->think\{closure}(object(Request), object(Closure), null)
  22. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  23. at Middleware->think\{closure}(object(Request))
  24. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  25. at Middleware->dispatch(object(Request)) in App.php line 435
  26. at App->run() in index.php line 24

Exception Datas

PDO Error Info
SQLSTATE 42S02
Driver Error Code 1146
Driver Error Message Table 'h5.fd_exhibition_config' doesn't exist
Database Status
Error Code 10501
Error Message SQLSTATE[42S02]: Base table or view not found: 1146 Table 'h5.fd_exhibition_config' doesn't exist
Error SQL SHOW COLUMNS FROM `fd_exhibition_config`
Database Config
type mysql
hostname 11.1.2.60
database h5
hostport 16306
dsn
params []
charset utf8
prefix fd_
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 true
break_match_str []
db_config1 { "type": "mysql", "hostname": "www.yae920.com", "database": "crm_yae920_com", "username": "root", "password": "Yae920.com", "charset": "utf8", "prefix": "dx_" }
statistics { "type": "mysql", "dsn": "", "hostname": "11.1.2.60", "database": "tj", "username": "php_tj", "password": "mysql@tjSmDM3dLSdodw2XffsdfwREFddsf3f", "hostport": "16306", "params": [], "charset": "utf8mb4", "prefix": "tj_" }

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER apache
HOME /usr/share/httpd
FCGI_ROLE RESPONDER
QUERY_STRING s=new/brand/112
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /new/brand/112
DOCUMENT_URI /index.php
DOCUMENT_ROOT /mnt/www/app.yae820.com/com.yae820.h5/public
SERVER_PROTOCOL HTTP/1.1
REQUEST_SCHEME https
HTTPS on
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.20.2
REMOTE_ADDR 52.54.111.228
REMOTE_PORT 58066
SERVER_ADDR 11.1.2.60
SERVER_PORT 443
SERVER_NAME app.yae820.com
REDIRECT_STATUS 200
SCRIPT_FILENAME /mnt/www/app.yae820.com/com.yae820.h5/public/index.php
RUN_ENV development
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST app.yae820.com
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711626035.4769
REQUEST_TIME 1711626035
Environment Variablesempty
ThinkPHP Constants
SHOP_SITE https://app.yae820.com/
SITE_STATIC https://app.yae820.com/static/
ACT_SAVING 0
ACT_DRAWING 1
ACT_ADJUSTING 2
ACT_OTHER 99
OS_UNCONFIRMED 0
OS_CONFIRMED 1
OS_CANCELED 2
OS_INVALID 3
OS_RETURNED 4
OS_SPLITED 5
OS_SPLITING_PART 6
SS_UNSHIPPED 0
SS_SHIPPED 1
SS_RECEIVED 2
SS_PREPARING 3
SS_SHIPPED_PART 4
SS_SHIPPED_ING 5
OS_SHIPPED_PART 6
PS_UNPAYED 0
PS_PAYING 1
PS_PAYED 2
PS_PRESELL 9
CART_GENERAL_GOODS 0
CART_GROUP_BUY_GOODS 1
CART_AUCTION_GOODS 2
CART_SNATCH_GOODS 3
CART_EXCHANGE_GOODS 4
CART_PINTUAN_GOODS 5
CART_PRESELL_GOODS 6
GAT_SNATCH 0
GAT_GROUP_BUY 1
GAT_AUCTION 2
GAT_POINT_BUY 3
GAT_PACKAGE 4
GAT_SCORE 5
GAT_PROMOTE 6
GAT_CATEGORY 7
GAT_PINTUAN 8
GAT_PRESELL 9
GAT_COURSES 10
GAT_TICKET 11
GAT_MEET 12