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

SQLSTATE[HY000] [1044] Access denied for user 'appresusr'@'localhost' to database 'appre_iddb'

  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 376
  5. at PDOConnection->getSchemaInfo() in PDOConnection.php line 424
  6. at PDOConnection->getTableInfo() in PDOConnection.php line 476
  7. at PDOConnection->getPk() in Query.php line 325
  8. at Query->getPk() in WhereQuery.php line 43
  9. at BaseQuery->where() in common.php line 86
  10. at sysConfigCache() in Base.php line 55
  11. at Base->public_assign() in Base.php line 45
  12. at Base->__construct()
  13. at ReflectionClass->newInstanceArgs() in Container.php line 396
  14. at Container->invokeClass() in Container.php line 253
  15. at Container->make() in Controller.php line 187
  16. at Controller->controller() in Controller.php line 74
  17. at Controller->exec() in Dispatch.php line 52
  18. at Dispatch->run() in Route.php line 755
  19. at Route->think\{closure}() in Pipeline.php line 59
  20. at Pipeline->think\{closure}() in Pipeline.php line 66
  21. at Pipeline->then() in Route.php line 756
  22. at Route->dispatch() in Http.php line 208
  23. at Http->dispatchToRoute() in Http.php line 198
  24. at Http->think\{closure}() in Pipeline.php line 59
  25. at Pipeline->think\{closure}() in MultiApp.php line 51
  26. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  27. at Pipeline->think\{closure}() in InitApp.php line 27
  28. at InitApp->handle()
  29. at call_user_func() in Middleware.php line 134
  30. at Middleware->think\{closure}() in Pipeline.php line 85
  31. at Pipeline->think\{closure}() in Pipeline.php line 66
  32. at Pipeline->then() in MultiApp.php line 52
  33. at MultiApp->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 SessionInit.php line 58
  37. at SessionInit->handle()
  38. at call_user_func() in Middleware.php line 134
  39. at Middleware->think\{closure}() in Pipeline.php line 85
  40. at Pipeline->think\{closure}() in TraceDebug.php line 71
  41. at TraceDebug->handle()
  42. at call_user_func() in Middleware.php line 134
  43. at Middleware->think\{closure}() in Pipeline.php line 85
  44. at Pipeline->think\{closure}() in Pipeline.php line 66
  45. at Pipeline->then() in Http.php line 199
  46. at Http->runWithRequest() in Http.php line 162
  47. at Http->run() in index.php line 30

Exception Datas

PDO Error Info
SQLSTATE HY000
Driver Error Code 1044
Driver Error Message Access denied for user 'appresusr'@'localhost' to database 'appre_iddb'
Database Status
Error Code 10501
Error Message SQLSTATE[HY000] [1044] Access denied for user 'appresusr'@'localhost' to database 'appre_iddb'
Error SQL
Database Config
type mysql
hostname localhost
database appre_iddb
hostport 3306
dsn
params []
charset utf8
prefix fs_
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 []
auto_param_bind true

Environment Variables

GET Data
hl id
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /id/download/baby-calculator-41220.htm
QUERY_STRING s=download/baby-calculator-41220.htm&hl=id
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING s=download/baby-calculator-41220.htm&hl=id
REDIRECT_URL /id/download/baby-calculator-41220.htm
REMOTE_PORT 62590
SCRIPT_FILENAME /www/wwwroot/appresoure.com/public/index.php
SERVER_ADMIN [email protected]
CONTEXT_DOCUMENT_ROOT /www/wwwroot/appresoure.com/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /www/wwwroot/appresoure.com/public
REMOTE_ADDR 172.71.222.84
SERVER_PORT 80
SERVER_ADDR 10.128.5.158
SERVER_NAME www.appresoure.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.appresoure.com Port 80</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_CF_IPCOUNTRY US
HTTP_CDN_LOOP cloudflare
HTTP_CF_CONNECTING_IP 44.222.186.148
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CF_VISITOR {"scheme":"http"}
HTTP_X_FORWARDED_PROTO http
HTTP_CF_RAY 86c0bde3fd6f20c4-IAD
HTTP_X_FORWARDED_FOR 44.222.186.148
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION Keep-Alive
HTTP_HOST www.appresoure.com
proxy-nokeepalive 1
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711724555.2382
REQUEST_TIME 1711724555
0.453897s