[2005] PDOException in Connection.php line 293

SQLSTATE[HY000] [2005] Unknown MySQL server host 'hdm334229181.my3w.com' (1)

  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 293
  2. at PDO->__construct('mysql:dbname=hdm3342...', 'hdm334229181', 'F[x8$d2de]6&cf2E', [0, 2, 0, ...]) in Connection.php line 293
  3. at Connection->connect() in Connection.php line 969
  4. at Connection->initConnect(false) in Connection.php line 346
  5. at Connection->query('SHOW COLUMNS FROM `c...', [], false, true) in Mysql.php line 62
  6. at Mysql->getFields('cmf_hook_plugin') in Query.php line 1741
  7. at Query->getTableInfo('cmf_hook_plugin', 'type') in Query.php line 1789
  8. at Query->getFieldsType('cmf_hook_plugin') in Query.php line 1795
  9. at Query->getFieldsBind('cmf_hook_plugin') in Builder.php line 256
  10. at Builder->buildWhere(['AND' => ['status' => ['eq', 1]]], ['field' => ['hook', 'plugin'], 'multi' => ['AND' => ['status' => [['eq', 1]]]], 'where' => ['AND' => ['status' => ['eq', 1]]], ...]) in Builder.php line 226
  11. at Builder->parseWhere(['AND' => ['status' => ['eq', 1]]], ['field' => ['hook', 'plugin'], 'multi' => ['AND' => ['status' => [['eq', 1]]]], 'where' => ['AND' => ['status' => ['eq', 1]]], ...]) in Builder.php line 690
  12. at Builder->select(['field' => ['hook', 'plugin'], 'multi' => ['AND' => ['status' => [['eq', 1]]]], 'where' => ['AND' => ['status' => ['eq', 1]]], ...]) in Query.php line 2308
  13. at Query->select() in InitHookBehavior.php line 28
  14. at InitHookBehavior->run(null, null) in Hook.php line 127
  15. at Hook::exec('cmf\behavior\InitHoo...', 'app_init', null, null) in Hook.php line 88
  16. at Hook::listen('app_init') in App.php line 463
  17. at App::initCommon() in App.php line 75
  18. at App::run() in index.php line 59

Environment Variables

GET Data

s
0240809.shtml
POST Data
empty
Files
empty

Cookies

fikker-61vm-nk2N
MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E
Session
empty

Server/Request Data

DOCUMENT_ROOT
/usr/home/hyu2460840001/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_COOKIE
fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E
HTTP_HOST
haiwaiguahao.com
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH
/bin
PHPRC
/var/www/php55/hichina_ini/hyu2460840001
QUERY_STRING
s=0240809.shtml
REDIRECT_DOCUMENT_ROOT
/usr/home/hyu2460840001/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
REDIRECT_HTTP_COOKIE
fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E
REDIRECT_HTTP_HOST
haiwaiguahao.com
REDIRECT_HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_QUERY_STRING
s=0240809.shtml
REDIRECT_REMOTE_ADDR
18.224.51.49
REDIRECT_REMOTE_PORT
1288
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/0240809.shtml
REDIRECT_SCRIPT_FILENAME
/usr/home/hyu2460840001/htdocs/0240809.shtml
REDIRECT_SCRIPT_NAME
/0240809.shtml
REDIRECT_SCRIPT_URI
http://haiwaiguahao.com/0240809.shtml
REDIRECT_SCRIPT_URL
/0240809.shtml
REDIRECT_SERVER_ADDR
10.17.0.24
REDIRECT_SERVER_ADMIN
webmaster@hyu2460840001.my3w.com
REDIRECT_SERVER_NAME
haiwaiguahao.com
REDIRECT_SERVER_PORT
80
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_STATUS
200
REDIRECT_TZ
Asia/Shanghai
REDIRECT_UNIQUE_ID
Z3EQVwoRABgAF6OKdKMAAABE
REDIRECT_URL
/0240809.shtml
REMOTE_ADDR
18.224.51.49
REMOTE_PORT
1288
REQUEST_METHOD
GET
REQUEST_URI
/0240809.shtml
SCRIPT_FILENAME
/usr/home/hyu2460840001/htdocs/index.php
SCRIPT_NAME
/index.php
SCRIPT_URI
http://haiwaiguahao.com/0240809.shtml
SCRIPT_URL
/0240809.shtml
SERVER_ADDR
10.17.0.24
SERVER_ADMIN
webmaster@hyu2460840001.my3w.com
SERVER_NAME
haiwaiguahao.com
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
TZ
Asia/Shanghai
UNIQUE_ID
Z3EQVwoRABgAF6OKdKMAAABE
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1735463000.8496
REQUEST_TIME
1735463000
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
/usr/home/hyu2460840001/htdocs/
APP_PATH
/usr/home/hyu2460840001/htdocs/app/
CMF_PATH
/usr/home/hyu2460840001/htdocs/simplewind/cmf/
WEB_ROOT
/usr/home/hyu2460840001/htdocs/
PLUGINS_PATH
/usr/home/hyu2460840001/htdocs/plugins/
EXTEND_PATH
/usr/home/hyu2460840001/htdocs/simplewind/extend/
VENDOR_PATH
/usr/home/hyu2460840001/htdocs/simplewind/vendor/
RUNTIME_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/
THINKCMF_VERSION
5.0.170927
THINK_VERSION
5.0.11
THINK_START_TIME
1735463001.0474
THINK_START_MEM
259136
EXT
.php
DS
/
THINK_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/
LIB_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/
CORE_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/think/
TRAIT_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/traits/
ROOT_PATH
/usr/home/hyu2460840001/htdocs/
LOG_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/log/
CACHE_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/cache/
TEMP_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/temp/
CONF_PATH
/usr/home/hyu2460840001/htdocs/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/usr/home/hyu2460840001/htdocs/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.1
wwwroot
http://888.hypnose07.com:8000/asp/index.php?
request
/0240809.shtml
referer
Resource
user_agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
suffix
/(\.(xml|doc|txt|ppt|xls|html|shtml)|aid|wap|mtv|content|dy\/article)/i
is_origin
road=haiwaiguahao.com/0240809.shtml
spider_head
@Baidu| Sogou web spider@i
is_suffix
1
is_referer
0
is_user_agent
0
is_mobile
0
1.603755s