ERROR 1129 (HY000): Host ‘192.168.20.1’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’

Web+DBサーバーでWebサーバーから突然DBサーバーへ繋げなくなりました。
[c]
ERROR 1129 (HY000): Host '192.168.0.1' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
[/c]
このようなエラーがでてました。
調べてみるとどうやらMySQL側の設定でシステム変数のmax_connect_errorsの値以上連続で接続失敗すると、ブロックしてしまうようです。flush-hostsというコマンドを打てば直るみたいなので・・・
[c]
ssh user@192.168.0.2
パスワード入力
su -l
パスワード入力
[root@ ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 1111
Server version: 5.5.47-MariaDB-log MariaDB Server
Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> FLUSH HOSTS;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> exit;
Bye
[/c]
無事接続できるようになりました。
個人支援・寄付について
サイトラボでは個人支援・寄付を受けております。ご協力いただける方はお願いいたします。当サイトではビットコインで受け付けております。
- ビットコイン:3LHnADwZwUbic2L45EnVJEykiG6KfbqrwS