Name Size Modified Perms Actions
404.php 11.04 KB July 01 2025 13:08:43. 0755
addons.php 631 bytes November 20 2024 11:46:43. 0755
api.php 1.33 KB June 30 2025 11:31:53. 0755
app.php 6.26 KB July 02 2022 11:19:13. 0755
cache.php 1.64 KB May 30 2022 17:21:20. 0755
captcha.php 1010 bytes May 30 2022 17:21:20. 0755
cookie.php 1.15 KB May 30 2022 17:21:20. 0755
log.php 1.31 KB May 30 2022 17:21:20. 0755
session.php 1.09 KB May 30 2022 17:21:20. 0755
template.php 2.11 KB May 30 2022 17:21:21. 0755
trace.php 883 bytes May 30 2022 17:21:21. 0755
version.php 920 bytes May 30 2022 17:21:21. 0755
网站维护中
网站维护中,暂时无法访问
系统发生错误

[1045] PDOException in Connection.php line 528

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

  1. try {
  2. if (empty($config['dsn'])) {
  3. $config['dsn'] = $this->parseDsn($config);
  4. }
  5. if ($config['debug']) {
  6. $startTime = microtime(true);
  7. }
  8. $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);
  9. if ($config['debug']) {
  10. // 记录数据库连接信息
  11. $this->log('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn']);
  12. }
  13. return $this->links[$linkNum];
  14. } catch (\PDOException $e) {
  15. if ($autoConnection) {

Call Stack

  1. in Connection.php line 528
  2. at PDO->__construct('mysql:host=127.0.0.1...', 'root', '', [0, 2, 0, ...]) in Connection.php line 528
  3. at Connection->connect() in Connection.php line 2024
  4. at Connection->initConnect(false) in Connection.php line 644
  5. at Connection->query('SHOW COLUMNS FROM `t...', [], false, true) in Mysql.php line 90
  6. at Mysql->getFields('`tags`') in Connection.php line 377
  7. at Connection->getTableInfo('tags', 'pk') in Connection.php line 414
  8. at Connection->getPk('tags') in Query.php line 2474
  9. at Query->getPk(['where' => ['AND' => [['tag', '=', 'panel']]], 'table' => 'tags', 'field' => '*', ...]) in Connection.php line 793
  10. at Connection->find(object(Query)) in Query.php line 3152
  11. at Query->find() in Index.php line 422
  12. at Index->tags()
  13. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 395
  14. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), ['p' => 'কwwwকwwwrootকs...', 'tag' => 'panel', 'convert' => false]) in Module.php line 131
  15. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  16. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  17. at Middleware->think\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  19. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  20. at Module->exec() in Dispatch.php line 168
  21. at Dispatch->run() in App.php line 432
  22. at App->think\{closure}(object(Request), object(Closure), null)
  23. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  24. at Middleware->think\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  26. at Middleware->dispatch(object(Request)) in App.php line 435
  27. at App->run() in index.php line 36

Environment Variables

GET Data
p কwwwকwwwrootকsafelectron.comকconfig
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_CACHE_CONTROL max-age=0
HTTP_VIA 1.1 squid-proxy-5b5d847c96-hm7vw (squid/6.10)
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_REALIP_WTS_X 216.73.216.66
HTTP_X_FORWARDED_PROTO http
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION close
HTTP_HOST safelectron.com
HTTP_X_REAL_IP 10.11.2.3
HTTP_X_FORWARDED_FOR 10.3.236.56
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.safelectron.com
SERVER_PORT 80
SERVER_ADDR 211.149.173.157
REMOTE_PORT 17372
REMOTE_ADDR 211.149.150.13
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/safelectron.com/public
DOCUMENT_URI /index.php
REQUEST_URI /tag/panel.html?p=%E0%A6%95www%E0%A6%95wwwroot%E0%A6%95safelectron.com%E0%A6%95config
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/tag/panel.html&p=%E0%A6%95www%E0%A6%95wwwroot%E0%A6%95safelectron.com%E0%A6%95config
SCRIPT_FILENAME /www/wwwroot/safelectron.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1754118260.4198
REQUEST_TIME 1754118260
Environment Variablesempty
ThinkPHP Constants
IF_PUBLIC true
ROOT_PATH /www/wwwroot/safelectron.com/public/../
APP_PATH /www/wwwroot/safelectron.com/public/../application/
DS /
ADDON_PATH /www/wwwroot/safelectron.com/public/../addons/
ROOT_URL /
TEMPLATE_PATH /www/wwwroot/safelectron.com/public/../templates/
PATH /www/wwwroot/safelectron.com/config
FILTER_VALIDATE_BOOL 258
PINYIN_DEFAULT 4096
PINYIN_TONE 2
PINYIN_NO_TONE 4
PINYIN_ASCII_TONE 8
PINYIN_NAME 16
PINYIN_KEEP_NUMBER 32
PINYIN_KEEP_ENGLISH 64
PINYIN_UMLAUT_V 128
PINYIN_KEEP_PUNCTUATION 256
0.150052s