Hi all,
i had configured fail-over in master-slave replication.with the following steps.
1)keeping master(A) read only(set global read_only=1;)
2)keeping slave(B) read only off(set global read_only=0;)
3)stop slave(B) io_thread;
4)wait until it reads all relay log.
5)stop slave(B);
6)reset master(B);
7)show master status(B);note the binlog pos.
8)set old master(A) to be slave(change master to master_host=’—’,master_user=’—’,master_password=’—’,master_log_pos=–,master_log_file=’–’;)
9)start slave(A);
10)flush tables(A);
A)steps performed in current master
B)steps performed in current slave.
but @ this stage i am facing error:
slave_io_running: connecting
slave_sql_running: yes
Last_IO_Error: error connecting to master
Could some one help me out @ this stage.
@"tried in lappy"
Thanks a million in advance.
i had configured fail-over in master-slave replication.with the following steps.
1)keeping master(A) read only(set global read_only=1;)
2)keeping slave(B) read only off(set global read_only=0;)
3)stop slave(B) io_thread;
4)wait until it reads all relay log.
5)stop slave(B);
6)reset master(B);
7)show master status(B);note the binlog pos.
8)set old master(A) to be slave(change master to master_host=’—’,master_user=’—’,master_password=’—’,master_log_pos=–,master_log_file=’–’;)
9)start slave(A);
10)flush tables(A);
A)steps performed in current master
B)steps performed in current slave.
but @ this stage i am facing error:
slave_io_running: connecting
slave_sql_running: yes
Last_IO_Error: error connecting to master
Could some one help me out @ this stage.
@"tried in lappy"
Thanks a million in advance.