问题:
DolphinScheduler启动故障的master结点日志
Caused by: java.sql.SQLException: null, message from server: "Host '172.xx.xxx.201' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"
解决:
默认Mysql配置
mysql> show global variables like '%connect%';
| max_connect_errors | 1000 |
| max_connections | 151
修改Mysql配置
$ mysql> SET GLOBAL max_connections = 500;
$ mysql> SET GLOBAL max_connect_errors=10000;
重新启动Mysql
$ sudo service mysql restart