I try to config MHA 0.56 for mysql 5.7, everything is done. when I run masterha_check_repl --conf=app1.cnf, I get the following message: executing command:
save_binary_logs --command=test --start_pos=4 --binlog_dir=/data/mysql --output_file=/data/mysql
Failed to save binary log: Set --start_file=<starting_binlog_filename> or --binlog_prefix=<binlog_file_prefix>
Binlog setting check failed!
I modified MasterMonitor.pm added --binlog_prefix=mysql-bin into the command , but it doesn't work, still gave me above error message.
I try to config MHA 0.56 for mysql 5.7, everything is done. when I run
masterha_check_repl --conf=app1.cnf
, I get the following message: executing command:save_binary_logs --command=test --start_pos=4 --binlog_dir=/data/mysql --output_file=/data/mysql
Failed to save binary log: Set --start_file=<starting_binlog_filename> or --binlog_prefix=<binlog_file_prefix>
Binlog setting check failed!
I modified MasterMonitor.pm added
--binlog_prefix=mysql-bin
into the command , but it doesn't work, still gave me above error message.