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_repository.result

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]
#
# Create a new channel from the slave to the third server.
#  There shall be an error
[connection server_2]
CHANGE MASTER TO MASTER_HOST = "127.0.0.1", MASTER_PORT = MASTER_PORT FOR CHANNEL "channel_3";;
ERROR HY000: To have multiple channels, repository cannot be of type FILE; Please check the repository configuration and convert them to TABLE.
#  Convert only master_info_repository to table.
#  The same error shall persist
include/stop_slave.inc
SET @@GLOBAL.master_info_repository ="TABLE";
call mtr.add_suppression("Slave: Cannot create new master info structure when repositories are of type FILE. Convert slave repositories  to TABLE to replicate from multiple sources");
CHANGE MASTER TO MASTER_HOST = "127.0.0.1", MASTER_USER = "root", MASTER_PORT = MASTER_PORT FOR CHANNEL "channel_3";;
ERROR HY000: To have multiple channels, repository cannot be of type FILE; Please check the repository configuration and convert them to TABLE.
#  Convert only relay log info repository to TABLE
#  The same error shall remain
SET @@GLOBAL.master_info_repository = "FILE";
SET @@GLOBAL.relay_log_info_repository = "TABLE";
CHANGE MASTER TO MASTER_HOST = "127.0.0.1", MASTER_USER = "root", MASTER_PORT = MASTER_PORT FOR CHANNEL "channel_3";;
ERROR HY000: To have multiple channels, repository cannot be of type FILE; Please check the repository configuration and convert them to TABLE.
#
# Convert both repositories to TABLE. CHANGE MASTER command passes
#
SET @@GLOBAL.master_info_repository = "TABLE";
CHANGE MASTER TO MASTER_HOST ="127.0.0.1", MASTER_USER ="root", MASTER_PORT=MASTER_PORT FOR CHANNEL "channel_3";
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.
# Slave now is a multisourced slave.
# Restart the slave and check that slave threads are not started because
# the repositories are of type FILE
call mtr.add_suppression("Slave: This slave was a multisourced slave previously*");
call mtr.add_suppression("Failed to create or recover replication info repositories");
include/rpl_restart_server.inc [server_number=2]
SHOW SLAVE STATUS;
include/assert.inc [there shall be only 0 rows as the slave is not configured.]
#
#   Test that if slave server is started with TABLE, replication proceeds
#   as usual.
include/rpl_restart_server.inc [server_number=2 parameters: --master-info-repository=TABLE --relay-log-info-repository=TABLE]
include/assert.inc [there shall be only 2 rows as slave is restarted properly]
#
#   Set slave repostiories to FILE. An error is generated.
#
SET @@GLOBAL.master_info_repository = "FILE";
ERROR HY000: Failure while changing the type of replication repository: Repository conversion is possible when only default channel exists.
SET @@GLOBAL.relay_log_info_repository = "FILE";
ERROR HY000: Failure while changing the type of replication repository: Repository conversion is possible when only default channel exists.
SHOW VARIABLES LIKE '%info_repository%';
Variable_name	Value
master_info_repository	TABLE
relay_log_info_repository	TABLE
#
#  Currently slave repositores are of type TABLE. Try again
#  again setting to TABLE. Returns success doing nothing.
#
SET @@GLOBAL.master_info_repository = "TABLE";
SET @@GLOBAL.relay_log_info_repository = "TABLE";
include/stop_slave.inc
Warnings:
Note	3084	Replication thread(s) for channel 'channel_3' are already stopped.
RESET SLAVE ALL FOR CHANNEL 'channel_3';
include/rpl_restart_server.inc [server_number=2 parameters: --master-info-repository=FILE --relay-log-info-repository=FILE]
include/rpl_end.inc

Man Man