mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
21 lines
720 B
Text
21 lines
720 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
#
|
|
# New --dump-slave, --apply-slave-statements functionality
|
|
#
|
|
use test;
|
|
CHANGE MASTER '' TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
|
|
STOP ALL SLAVES;
|
|
CHANGE MASTER '' TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
|
|
START ALL SLAVES;
|
|
STOP ALL SLAVES;
|
|
CHANGE MASTER '' TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_MYPORT, MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
|
|
START ALL SLAVES;
|
|
start slave;
|
|
Warnings:
|
|
Note 1254 Slave is already running
|
|
CHANGE MASTER '' TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
|
|
start slave;
|
|
Warnings:
|
|
Note 1254 Slave is already running
|
|
include/rpl_end.inc
|