环境:基于MySQL 8.0安装部署MHA集群
- 在检查主从时报错:
[root@mysql-105 mha]# masterha_check_repl --conf=/etc/mha/mysql-mha.conf
Tue Feb 4 22:14:13 2020 - [warning] Global configuration file /etc/masterha_default.cnf not found. Skipping.
Tue Feb 4 22:14:13 2020 - [info] Reading application default configuration from /etc/mha/mysql-mha.conf..
Tue Feb 4 22:14:13 2020 - [info] Reading server configuration from /etc/mha/mysql-mha.conf..
Tue Feb 4 22:14:13 2020 - [info] MHA::MasterMonitor version 0.57.
Tue Feb 4 22:14:14 2020 - [error][/usr/share/perl5/vendor_perl/MHA/ServerManager.pm, ln188] There is no alive server. We can't do failover
Tue Feb 4 22:14:14 2020 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln427] Error happened on checking configurations. at /usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm line 329.
Tue Feb 4 22:14:14 2020 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm,