1.执行

flush hosts;

2.调大max_connect_errors次数

set global max_connect_errors = 1000;