Open GoogleCodeExporter opened 8 years ago
Would you please show the result of the following command on the master
(192.168.100.55:3306)?
SHOW SLAVE STATUS
The error code path is entered when parsing slave servers only. So I assume on
3306 slave definition exists. If it exists, would you please remove slave
definition by RESET SLAVE ALL and try again?
Original comment by Yoshinor...@gmail.com
on 9 Jun 2014 at 4:08
after testing ,i found that if set relay_log_info_repository=TABLE and
master_info_repository=TABLE MHA also check table mysql.slave_relay_log_info
on master ,so when mha found there is nothing in mysql.slave_relay_log_info
then produces errors .
solution:
modify my.cnf on the master (192.168.100.55:3306)
# relay_log_info_repository=TABLE
# master_info_repository=TABLE
then restart master
everything is ok
thank you !
Original comment by freedom3...@gmail.com
on 9 Jun 2014 at 6:26
I met this issue recently, maybe a master should not specialize the two slave
parameters, so remove them in my.cnf is correct solution, mha-0.56 still has
the issue.
Original comment by wanggon...@gmail.com
on 5 Jan 2015 at 7:49
I had this issue when I was setting up the mha. I commented both of these parameters on master.
After failover, slave has become new master and now I'm trying to start manager, getting same error:
[error][/usr/share/perl5/vendor_perl/MHA/Server.pm, ln241] Getting relay log directory or current relay logfile from replication table failed on
So, is this the recommendation that we should not use relay_log_info_repository=TABLE and master_info_repository=TABLE?
What if we want to setup crash safe replication?
Original issue reported on code.google.com by
freedom3...@gmail.com
on 9 Jun 2014 at 2:02