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

#
# set up masters server_1 and server_3 with server_2 being a slave.
#.
include/rpl_init.inc [topology=1->2,3->2]
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.
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 server_2]
call mtr.add_suppression("Slave: Could not start slave for channel");
#
# Verify that Setting sql_slave_skip_counter doesn't effect running
# channels
#
SET GLOBAL sql_slave_skip_counter= 1;
0
include/assert.inc [check that channel_1's Skip_Counter is 0.]
STOP SLAVE SQL_THREAD;
include/rpl_for_each_connection.inc [include/wait_for_slave_sql_to_stop.inc]
#
# Verify that START SLAVE FOR CHANNEL will copy sql_slave_skip_counter's
# value to the channel and reset sql_slave_skip_counter to 0
#
[connection server_2]
include/stop_slave.inc
include/start_slave.inc
1
include/assert.inc [check that channel_1's Skip_Counter is 0.]
include/assert.inc [check that sql_slave_skip_counter is 0]
#
# START SLAVE [SQL_THREAD] will fail when sql_slave_skip_counter is 1
# and there are more than one channels
#
SET GLOBAL sql_slave_skip_counter = 1;
START SLAVE;
ERROR HY000: When sql_slave_skip_counter > 0, it is not allowed to start more than one SQL thread by using 'START SLAVE [SQL_THREAD]'. Value of sql_slave_skip_counter can only be used by one SQL thread at a time. Please use 'START SLAVE [SQL_THREAD] FOR CHANNEL' to start the SQL thread which will use the value of sql_slave_skip_counter.
START SLAVE SQL_THREAD;
ERROR HY000: When sql_slave_skip_counter > 0, it is not allowed to start more than one SQL thread by using 'START SLAVE [SQL_THREAD]'. Value of sql_slave_skip_counter can only be used by one SQL thread at a time. Please use 'START SLAVE [SQL_THREAD] FOR CHANNEL' to start the SQL thread which will use the value of sql_slave_skip_counter.
#
# START SLAVE IO_THREAD should not fail.
#
START SLAVE IO_THREAD;
include/rpl_for_each_connection.inc [include/wait_for_slave_io_to_start.inc]
include/assert.inc [All two IO threads are running after START SLAVE IO_THREAD]
SET GLOBAL sql_slave_skip_counter= 0;
include/rpl_end.inc
RESET SLAVE ALL FOR CHANNEL  'channel_1';
RESET SLAVE ALL FOR CHANNEL  'channel_3';

Man Man