123 开云(中国)Kaiyun·官方网站-登录入口
 8TGames 
Play Best Free Online Games - 8tGames.Com
 8TGames 
Play Best Free Online Games - 8tGames.Com
 8TGames 
System Error

[1045] PDOException in Connection.php line 300

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

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

Call Stack

  1. in Connection.php line 300
  2. at PDO->__construct('mysql:dbname=hepx;ho...', 'root', '111111', [0, 2, 0, ...]) in Connection.php line 300
  3. at Connection->connect() in Connection.php line 934
  4. at Connection->initConnect(true) in Mysql.php line 54
  5. at Mysql->getFields('game') in Query.php line 1721
  6. at Query->getTableInfo('game', 'pk') in Query.php line 1755
  7. at Query->getPk(['multi' => ['AND' => ['game_id' => ['7156']]], 'where' => ['AND' => ['game_id' => '7156']], 'table' => 'game', ...]) in Query.php line 2405
  8. at Query->find() in Index.php line 152
  9. at Index->detail()
  10. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 224
  11. at App::invokeMethod([object(Index), 'detail'], []) in App.php line 389
  12. at App::module(['mob', 'index', 'detail'], ['app_namespace' => 'app', 'app_debug' => false, 'app_trace' => false, ...], true) in App.php line 130
  13. at App::run() in start.php line 18
  14. at require('/home/wwwroot/8tgame...') in index.php line 23

Environment Variables

GET Data

key
7156_Gold-Miner-Tom
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
m.8tgames.com
HTTP_CONNECTION
Keep-Alive
HTTP_X_FORWARDED_PROTO
https
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_CF_IPCOUNTRY
US
HTTP_CF_CONNECTING_IP
216.73.216.11
HTTP_CDN_LOOP
cloudflare; loops=1
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_ACCEPT
*/*
HTTP_CF_RAY
9ad887e558d48e5c-ORD
HTTP_X_FORWARDED_FOR
216.73.216.11
REDIRECT_STATUS
200
SERVER_NAME
m.8tgames.com
SERVER_PORT
80
SERVER_ADDR
64.227.9.86
REMOTE_PORT
9819
REMOTE_ADDR
172.70.100.77
SERVER_SOFTWARE
nginx/1.16.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/wwwroot/8tgames.com/mob
DOCUMENT_URI
/index.php
REQUEST_URI
/game/7156_Gold-Miner-Tom
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=index/detail&key=7156_Gold-Miner-Tom
SCRIPT_FILENAME
/home/wwwroot/8tgames.com/mob/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1765661092.7408
REQUEST_TIME
1765661092
PATH_INFO
index/detail
Environment Variables
empty

ThinkPHP Constants

BIND_MODULE
mob
TMPL_PATH
/home/wwwroot/8tgames.com/mob/../template/
APP_PATH
/home/wwwroot/8tgames.com/mob/../application/
THINK_VERSION
5.0.7
THINK_START_TIME
1765661092.7413
THINK_START_MEM
367744
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/8tgames.com/thinkphp/
LIB_PATH
/home/wwwroot/8tgames.com/thinkphp/library/
CORE_PATH
/home/wwwroot/8tgames.com/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/8tgames.com/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/8tgames.com/
EXTEND_PATH
/home/wwwroot/8tgames.com/extend/
VENDOR_PATH
/home/wwwroot/8tgames.com/vendor/
RUNTIME_PATH
/home/wwwroot/8tgames.com/runtime/
LOG_PATH
/home/wwwroot/8tgames.com/runtime/log/
CACHE_PATH
/home/wwwroot/8tgames.com/runtime/cache/
TEMP_PATH
/home/wwwroot/8tgames.com/runtime/temp/
CONF_PATH
/home/wwwroot/8tgames.com/mob/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
UPLOAD_PATH
/home/wwwroot/8tgames.com/public/uploads
STATIC_URL
https://cdn1.5bob.net
ASSETS_URL
/assets/