18.2.3 host '...' is blocked Error
If you get an error like this:
Host 'hostname' is blocked because of specified connection errors.
Unblock with 'mysqladmin flush-hosts'
This means that mysqld has obtained a large number of connection requests that are interrupted in the middle of the host 'hostname' (max_connect_errors. After max_connect_errors failed requests, mysqld identified an error (like a hacker attack) and blocked the site from further connection until someone executed the command mysqladmin flush-hosts.
By default, mysqld blocks a host after 10 connection errors. You can easily adjust the server by starting it like this:
Shell> safe_mysqld-O max_connect_errors = 10000 &
Note: If you get this error message for a given host, you should first check whether the TCP/IP connection of the host is correct. If your TCP/IP connection is not running, adding the max_connect_errors variable value will not help you!