mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
21 lines
615 B
Text
21 lines
615 B
Text
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
|