blob: 75ea113ca594e1dd734fa66b9a207377068a46fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
include/rpl_init.inc [topology=1->2->1]
show variables like 'relay_log%';
Variable_name Value
relay_log master-relay-bin
relay_log_basename MYSQLD_DATADIR/master-relay-bin
relay_log_index MYSQLD_DATADIR/master-relay-bin.index
relay_log_info_file relay-log.info
relay_log_purge ON
relay_log_recovery OFF
relay_log_space_limit 0
CREATE TABLE t1 (a INT KEY) ENGINE= MyISAM;
connection server_2;
connection server_1;
INSERT INTO t1 VALUE(1);
FLUSH LOGS;
connection server_2;
INSERT INTO t1 VALUE(2);
connection server_1;
include/check_slave_is_running.inc
Relay_Log_File = 'master-relay-bin.000003'
include/rpl_end.inc
|