MySQL Host ' XXXXXX ' is blocked because of many connection errors

Source: Internet
Author: User
Tags mysql host

MySQL Host ' XXXXXX ' is blocked because of many connection errors

ERROR 1129 (00000): Host ' XXXXXX ' is blocked because of many connection errors; Unblock with ' mysqladmin flush-hosts '
I checked the information.
This indicates that MYSQLD has been given a large number (max_connect_errors) of host ' hostname ' in the Midway interrupted connection request. After max_connect_errors a failed request, MYSQLD identified an error (like a hacker attack) and blocked further connections to the site until someone executed the command mysqladmin flush-hosts.
By default, mysqld blocks a host after 10 connection errors. You can easily adjust it by starting the server like this: set global max_connect_errors=1000;
Note that for a given host, if you get this error message, you should first check the TCP/IP connection for that host for any problems. If your TCP/IP connection is not running, increasing the value of the max_connect_errors variable will not help you!

Cases:

192.168. 50.1 -uroot

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

in connection errors.  You can adjust the value by starting the serverlike this > mysqld_safe–max_connect_errors=10000 &hos T

MySQL Host ' XXXXXX ' is blocked because of many connection errors

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.