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

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 796
  2. at PDOConnection->getPDOStatement('SHOW FULL COLUMNS FR...') in Mysql.php line 66
  3. at Mysql->getFields('`en_system_config`') in PDOConnection.php line 422
  4. at PDOConnection->getTableFieldsInfo('en_system_config') in PDOConnection.php line 362
  5. at PDOConnection->getSchemaInfo('en_system_config') in PDOConnection.php line 409
  6. at PDOConnection->getTableInfo('en_system_config', 'type') in PDOConnection.php line 493
  7. at PDOConnection->getFieldsType('en_system_config') 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' => [['type', '=', 'base']]]) in Builder.php line 299
  11. at Builder->parseWhere(object(Query), ['AND' => [['type', '=', 'base']]]) in Mysql.php line 94
  12. at Mysql->select(object(Query)) in PDOConnection.php line 1218
  13. at PDOConnection->column(object(Query), ['name', 'value'], null) in BaseQuery.php line 280
  14. at BaseQuery->column('name,value') in Custom.php line 19
  15. at Custom->getConfig() in Index.php line 23
  16. at Index->initialize() in Controller.php line 94
  17. at Controller->__construct(object(App))
  18. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 395
  19. at Container->invokeClass('app\index\controller...', []) in Container.php line 252
  20. at Container->make('app\index\controller...', [], true) in Controller.php line 187
  21. at Controller->controller('Index') in Controller.php line 74
  22. at Controller->exec() in Dispatch.php line 90
  23. at Dispatch->run() in Route.php line 772
  24. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  25. at Pipeline->think\{closure}(object(Request)) in Library.php line 139
  26. at Library->think\admin\{closure}(object(Request), object(Closure))
  27. at call_user_func(object(Closure), object(Request), object(Closure)) in Middleware.php line 142
  28. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  29. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  30. at Pipeline->then(object(Closure)) in Route.php line 773
  31. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  32. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  33. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  34. at Pipeline->think\{closure}(object(Request)) in Multiple.php line 72
  35. at Multiple->think\admin\multiple\{closure}(object(Request)) in Pipeline.php line 59
  36. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  37. at Pipeline->then(object(Closure)) in Multiple.php line 73
  38. at Multiple->handle(object(Request), object(Closure))
  39. at call_user_func([object(Multiple), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  40. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  41. at Pipeline->think\{closure}(object(Request)) in LoadLangPack.php line 57
  42. at LoadLangPack->handle(object(Request), object(Closure))
  43. at call_user_func([object(LoadLangPack), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  44. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  45. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  46. at SessionInit->handle(object(Request), object(Closure))
  47. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  48. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  49. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  50. at Pipeline->then(object(Closure)) in Http.php line 207
  51. at Http->runWithRequest(object(Request)) in Http.php line 170
  52. at Http->run() in SystemService.php line 484
  53. at SystemService->doInit() in index.php line 10

Exception Datas

Database Status
Error Code 10501
Error Message SQLSTATE[HY000] [2002] No such file or directory
Error SQL
Database Config
type mysql
hostname localhost
database zeshan_lingwangm
hostport 3306
dsn
params []
charset utf8mb4
prefix en_
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 false
break_match_str []

Environment Variables

GET Data
m content
c index
a show
catid 14
id 39
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_UNIQUE_ID ZgUkcH8AAAEAAHu9v8UAAAAH
REDIRECT_HANDLER application/x-httpd-php7
REDIRECT_STATUS 200
UNIQUE_ID ZgUkcH8AAAEAAHu9v8UAAAAH
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www.whzscsw.com
PATH /usr/local/jdk/bin:/usr/local/jdk/bin:/sbin:/usr/sbin:/bin:/usr/bin:/bin:/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME www.whzscsw.com
SERVER_ADDR 122.114.134.133
SERVER_PORT 80
REMOTE_ADDR 44.203.58.132
DOCUMENT_ROOT /www/users/HA688563/WEB
SERVER_ADMIN vhost@zzidc.com
SCRIPT_FILENAME /www/users/HA688563/WEB/en/index.php
REMOTE_PORT 36110
REDIRECT_QUERY_STRING m=content&c=index&a=show&catid=14&id=39
REDIRECT_URL /en/index.php
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING m=content&c=index&a=show&catid=14&id=39
REQUEST_URI /en/index.php?m=content&c=index&a=show&catid=14&id=39
SCRIPT_NAME /en/index.php
ORIG_SCRIPT_FILENAME /usr/local/zend/php7.2/bin/php-cgi
ORIG_PATH_INFO /en/index.php
ORIG_PATH_TRANSLATED /www/users/HA688563/WEB/en/index.php
ORIG_SCRIPT_NAME /php72-cgi
PHP_SELF /en/index.php
REQUEST_TIME_FLOAT 1711613040.628
REQUEST_TIME 1711613040