`

Host 'XXXXXX' is blocked because of many connection errors

阅读更多

解决方法:

 在mysql server端使用mysqladmin flush-hsot

 

links:http://apps.hi.baidu.com/share/detail/43698885

 

ERROR 1129 (00000): Host 'XXXXXX' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
         查了下资料
         这说明mysqld已经得到了大量(max_connect_errors)的主机'hostname'的在中途被中断了的连接请求。在 max_connect_errors次失败请求后,mysqld认定出错了(象来字一个黑客的攻击),并且阻止该站点进一步的连接,直到某人执行命令 mysqladmin flush-hosts。
缺省地,mysqld在10个连接错误后阻塞一台主机。你可以通过象这样启动服务器很容易地调整它: set global max_connect_errors=1000;
注意,对给定的主机,如果得到这条错误消息,你应该首先检查该主机的TCP/IP连接有没有问题。如果你的TCP/IP连接不在运行,增加max_connect_errors变量的值对你也不会有帮助!

例:

/usr/local/mysql/bin/mysqladmin flush-host -h 192.168.50.1 -uroot

附:英文


ERROR 1129 (00000): Host '' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts'

If you get the following error, it means that mysqld has received many connect requests from the host 'host_name' that have been interrupted in the middle:
Host
分享到:
评论

相关推荐

    Your page is blocked due to a security的解决方案

    关于Your page is blocked due to a security的解决方案

    解决mysql出现大量TIME_WAIT

    如果MySQL出现“Host 'IP' is blocked because of many connection errors”的错误提示,表明由于过多的连接错误,该IP地址已被MySQL服务器封锁。此时,可以通过执行`mysqladmin flush-hosts -h IP -u root -p`命令...

    Java常见异常

    5. **ERROR 1129 (00000): Host ‘XXXXXX’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’** MySQL服务器将主机封锁,因为存在多次连接错误。使用`mysqladmin flush-...

    java.sql.SQLException: null,  message from server: “Host ‘%’ is not allowed to connect to

    java.sql.SQLException: null, message from server: “Host ‘223.72.41.7’ is not allowed to connect to this MySQL server” 客户端访问时报错: 解决方法: 1,登陆服务器 mysql> use mysql; //用mysql ...

    微软内部资料-SQL性能优化3

    Another type of table lock is a schema stability lock (Sch-S) and is compatible with all table locks except the schema modification lock (Sch-M). The schema modification lock (Sch-M) is incompatible ...

    一个小游戏

    Gameloft的笔试 Rules of Game: ---------... If one sphere is blocked because there is something underneath, the other one will continue falling (with no player control over it) until it reaches something.

    python_hopelight_calendar_api

    若注册时提示Error:This user account is blocked.Contact support@vercel.com for more information. 这是由于Vercel不支持大部分国内邮箱。可以将github账号主邮箱改为Gmail邮箱。 但是根据群友React,将github...

    Node.js-当CPU旋转和退出程序的堆栈跟时找出node进程是否受阻

    Figure out if your node process is blocked because the CPU is spinning and exit the program with a stack trace if that is the case

    python_github_calendar_api

    若注册时提示Error:This user account is blocked.Contact support@vercel.com for more information. 这是由于Vercel不支持大部分国内邮箱。可以将github账号主邮箱改为Gmail邮箱。 但是根据群友React,将github...

    Sakemail

    Because some people need to use IP addresses instead of Host names, I‘ve added a new property IPAddress to SakPOP and SakSMTP. If both are filled, then the Host name will be used, thanks to Roger F. ...

    tc_skbedit.rar_Blocked_tc skbedit

    The blocked_hash is used to find POSIX lock loops for deadlock detection. It is protected by blocked_lock_lock.

    node-blocked, 检查事件循环是否已经被阻止.zip

    node-blocked, 检查事件循环是否已经被阻止 块检查 node 事件循环是否被阻止。如果运行 node.js ,你可以使用非常类似的阻止阻塞函数,从而使用非常类似的阻止阻塞函数。安装$ npm install blocked描述blocked() ...

    Blocked.xbf

    Blocked

    VclZip pro v3.10.1

    While it has been tested and has even been used in at least two production applications for several months now prior to initial release, there are so many combinations of property settings, ...

    图像特征提取方法的研究.caj

    On the other hand, in real application efficiency is also an important indicator to assess one algorithm, because in many cases only algorithms with high efficiency can satisfy request of real task....

    BURNINTEST--硬件检测工具

    Here is a summary of all changes that have been made in each version of BurnInTest. Release 5.3 build 1035 revision 4 WIN32 release 10 November 2008 - Lenovo China specific build. Lenovo system ...

    word自动转化为chm

    However, what bothers you most is not using how many kinds of tools, the Word file, the CHM file and the online documents are all need to be modified, this is the real matter. Once the changing work ...

    Audit Technical Guide - Firewalls

    24 Traffic passed and blocked by the firewall is logged and reviewed 25 Critical Events sound an alert 26 All incoming file and attachments are virus scanned 27 Encryption is correctly configured 28 ...

    解决vue net :ERR_CONNECTION_REFUSED报错问题

    在提供的描述中,作者提到是因为频繁更换网络环境,导致需要在`package.json`的`dev`脚本中更改`--host`参数。在开发过程中,如果设置`--host 0.0.0.0`,这意味着服务器会监听所有网络接口,以便在任何网络环境下都...

Global site tag (gtag.js) - Google Analytics