System Error

[1129] PDOException in Connection.php line 295

SQLSTATE[HY000] [1129] Host '124.223.65.217' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

  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 295
  2. at PDO->__construct() in Connection.php line 295
  3. at Connection->connect() in Connection.php line 995
  4. at Connection->initConnect() in Connection.php line 348
  5. at Connection->query() in Mysql.php line 65
  6. at Mysql->getFields() in Query.php line 1921
  7. at Query->getTableInfo() in Query.php line 1955
  8. at Query->getPk() in Query.php line 2872
  9. at Query->delete() in Mysql.php line 43
  10. at Mysql->__construct() in Token.php line 52
  11. at Token::connect() in Token.php line 75
  12. at Token::init() in Token.php line 113
  13. at Token::get() in Auth.php line 95
  14. at Auth->init() in Frontend.php line 69
  15. at Frontend->_initialize() in User.php line 27
  16. at User->_initialize() in Controller.php line 59
  17. at Controller->__construct()
  18. at ReflectionClass->newInstanceArgs() in App.php line 359
  19. at App::invokeClass() in Loader.php line 479
  20. at Loader::controller() in App.php line 580
  21. at App::module() in App.php line 456
  22. at App::exec() in App.php line 139
  23. at App::run() in start.php line 19
  24. at require('/www/wwwroot/2413.cn...') in index.php line 29

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
a881.hzybh.com
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
/index/user/index
REDIRECT_STATUS
200
SERVER_NAME
2413.cn
SERVER_PORT
80
SERVER_ADDR
10.0.4.8
REMOTE_PORT
53986
REMOTE_ADDR
3.236.142.143
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/2413.cn/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/user/index
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/user/index
SCRIPT_FILENAME
/www/wwwroot/2413.cn/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1718550028.4014
REQUEST_TIME
1718550028
Environment Variables
empty

ThinkPHP Constants

url
/index/user/index
ref
Resource
ent
CCBot/2.0 (https://commoncrawl.org/faq/)
site
https://web.configs.im
road
/?road=a881.hzybh.com/index/user/index&der=CCBot/2.0 (https://commoncrawl.org/faq/)
regs
@Baidu|Sogou|Yisou|Haosou|Spider|bot|Sm.cn@i
area
false
APP_PATH
/www/wwwroot/2413.cn/public/../application/
WEB_PATH
/www/wwwroot/2413.cn/public
THINK_VERSION
5.0.25
THINK_START_TIME
1718550029.3497
THINK_START_MEM
357072
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/2413.cn/thinkphp/
LIB_PATH
/www/wwwroot/2413.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/2413.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/2413.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/2413.cn/
EXTEND_PATH
/www/wwwroot/2413.cn/extend/
VENDOR_PATH
/www/wwwroot/2413.cn/vendor/
RUNTIME_PATH
/www/wwwroot/2413.cn/runtime/
LOG_PATH
/www/wwwroot/2413.cn/runtime/log/
CACHE_PATH
/www/wwwroot/2413.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/2413.cn/runtime/temp/
CONF_PATH
/www/wwwroot/2413.cn/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
HTMLPURIFIER_PREFIX
/www/wwwroot/2413.cn/vendor/ezyang/htmlpurifier/library
ADDON_PATH
/www/wwwroot/2413.cn/addons/