config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/r/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/rpl/r/rpl_multi_source_relay_log.result

#########################################################################
# Verify RESET SLAVE and RESET SLAVE FOR CHANNEL
# - deletes all relay log files of named channels and reintializes
# them.
# - For default channel, it restart the relay log from .000001
# - For named channel, it restart the relay log from ch.000001
#########################################################################
include/master-slave.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
Note	####	Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection master]
[connection slave]
CHANGE MASTER TO MASTER_HOST="localhost", MASTER_PORT=10 FOR CHANNEL "ch1";
CHANGE MASTER TO MASTER_HOST="localhost", MASTER_PORT=11 FOR CHANNEL "ch2";
FLUSH RELAY LOGS;
FLUSH RELAY LOGS FOR CHANNEL "ch1";
FLUSH RELAY LOGS FOR CHANNEL "ch2";
#
# RESET SLAVE FOR CHANNEL "ch1" deletes all relay log files of ch1.
#
RESET SLAVE FOR CHANNEL "ch1";
slave-relay-bin-ch1.000001
slave-relay-bin-ch1.index
#
# RESET SLAVE deletes all relay log files of ch2
#
include/stop_slave.inc
RESET SLAVE;
slave-relay-bin-ch2.000001
slave-relay-bin-ch2.index
#
# RESET SLAVE resets relay log of default channel from .000001
#
#
# Relay log files for all channels are recreated automatically.
#
#
# RESET SLAVE ALL deletes all channels info and files.
#
RESET SLAVE ALL;
CHANGE MASTER TO MASTER_HOST="127.0.0.1", MASTER_PORT=MASTER_PORT,
MASTER_USER="root";
include/start_slave.inc
include/rpl_end.inc

Man Man