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

SQLSTATE[HY000] [2002] No such file or directory

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

Call Stack

  1. in PDOConnection.php line 795
  2. at PDOConnection->getPDOStatement('SHOW FULL COLUMNS FR...') in Mysql.php line 66
  3. at Mysql->getFields('`tp_system`') in PDOConnection.php line 421
  4. at PDOConnection->getTableFieldsInfo('tp_system') in PDOConnection.php line 361
  5. at PDOConnection->getSchemaInfo('tp_system') in PDOConnection.php line 408
  6. at PDOConnection->getTableInfo('tp_system', 'type') in PDOConnection.php line 492
  7. at PDOConnection->getFieldsType('tp_system') in TableFieldInfo.php line 58
  8. at Query->getFieldsType() in TableFieldInfo.php line 81
  9. at Query->getFieldsBindType() in Builder.php line 328
  10. at Builder->buildWhere(object(Query), ['AND' => [['id', '=', 1, ...]]]) in Builder.php line 299
  11. at Builder->parseWhere(object(Query), ['AND' => [['id', '=', 1, ...]]]) in Mysql.php line 94
  12. at Mysql->select(object(Query), true) in PDOConnection.php line 873
  13. at PDOConnection->think\db\{closure}(object(Query)) in PDOConnection.php line 699
  14. at PDOConnection->pdoQuery(object(Query), object(Closure)) in PDOConnection.php line 874
  15. at PDOConnection->find(object(Query)) in BaseQuery.php line 1127
  16. at BaseQuery->find(1)
  17. at call_user_func_array([object(Query), 'find'], [1]) in Model.php line 1055
  18. at Model::__callStatic('find', [1]) in view.php line 7
  19. at include('/www/wwwroot/jbufa.c...') in Config.php line 92
  20. at Config->parse('/www/wwwroot/jbufa.c...', 'view') in Config.php line 73
  21. at Config->load('/www/wwwroot/jbufa.c...', 'view') in MultiApp.php line 226
  22. at MultiApp->loadApp('index', '/www/wwwroot/jbufa.c...') in MultiApp.php line 206
  23. at MultiApp->setApp('index') in MultiApp.php line 150
  24. at MultiApp->parseMultiApp() in MultiApp.php line 64
  25. at MultiApp->handle(object(Request), object(Closure))
  26. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  27. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  28. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  29. at SessionInit->handle(object(Request), object(Closure))
  30. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  31. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  32. at Pipeline->think\{closure}(object(Request)) in InjectJwt.php line 14
  33. at InjectJwt->handle(object(Request), object(Closure))
  34. at call_user_func([object(InjectJwt), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  35. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  36. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  37. at TraceDebug->handle(object(Request), object(Closure))
  38. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  39. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  40. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  41. at Pipeline->then(object(Closure)) in Http.php line 207
  42. at Http->runWithRequest(object(Request)) in Http.php line 170
  43. at Http->run() in index.php line 23

Exception Datas

PDO Error Info
SQLSTATE HY000
Driver Error Code 2002
Driver Error Message No such file or directory
Database Status
Error Code 10501
Error Message SQLSTATE[HY000] [2002] No such file or directory
Error SQL
Database Config
type mysql
hostname localhost
database jbufa_com
hostport 3306
dsn
params []
charset utf8mb4
prefix tp_
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
fields_cache false
trigger_sql 1
builder
query
break_reconnect false
break_match_str []
schema_cache_path /www/wwwroot/ohas-home.com/public_html/runtime/schema/

Environment Variables

GET Data
id 16
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_HOST ohas-home.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME ohas-home.com
SERVER_PORT 443
SERVER_ADDR 172.17.250.116
REMOTE_PORT 53464
REMOTE_ADDR 45.197.36.61
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/ohas-home.com/public_html/public
DOCUMENT_URI /index.php
REQUEST_URI /product/info.html?id=16
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/product/info.html&id=16
SCRIPT_FILENAME /www/wwwroot/ohas-home.com/public_html/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1780386741.5674
REQUEST_TIME 1780386741
0.056536s