Current Path : /home/usr.opt/mysql57/mysql-test/suite/group_replication/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 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/group_replication/r/gr_to_binlogless_slave.result |
include/group_replication.inc [rpl_server_count=4] 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 server1] [connection server1] include/start_and_bootstrap_group_replication.inc [connection server2] include/start_group_replication.inc CREATE TABLE t1 (i INT PRIMARY KEY); INSERT INTO t1 VALUES(1); include/rpl_sync.inc [connection server3] SET SESSION sql_log_bin=0; call mtr.add_suppression("You need to use --log-bin to make"); SET SESSION sql_log_bin=1; CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_PORT, MASTER_USER='root'; include/start_slave.inc [connection server1] include/sync_slave_sql_with_master.inc # On the slave (server3), test that the data is properly replicated # after the start slave is complete. include/diff_tables.inc [server1:test.t1, server3:test.t1] [connection server2] [connection server4] set sql_log_bin=0; call mtr.add_suppression("\\[Error\\] Plugin group_replication reported: 'Binlog must be enabled for Group Replication*"); call mtr.add_suppression("You need to use --log-bin to make --binlog-format work."); set sql_log_bin=1; # check that t1 exists and has same values in all servers include/diff_tables.inc [server1:test.t1 ,server2:test.t1 ,server3:test.t1 ,server4:test.t1] SET GLOBAL group_replication_group_name= "GROUP_REPLICATION_GROUP_NAME"; START GROUP_REPLICATION; ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log. DROP TABLE t1; [connection server1] DROP TABLE t1; include/sync_slave_sql_with_master.inc [connection server3] include/stop_slave.inc RESET SLAVE; include/group_replication_end.inc