config root man

Current Path : /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
Upload File :
Current File : //usr/opt/mysql57/mysql-test/suite/group_replication/r/gr_xplugin_basic_dml.result

include/group_replication.inc [rpl_server_count=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.
[connection server1]
[connection server1]
include/start_and_bootstrap_group_replication.inc
INSTALL PLUGIN mysqlx SONAME 'mysqlx.so';
[connection server2]
include/start_group_replication.inc
INSTALL PLUGIN mysqlx SONAME 'mysqlx.so';
[connection server3]
include/start_group_replication.inc
INSTALL PLUGIN mysqlx SONAME 'mysqlx.so';
RUN USE test

0 rows affected
RUN CREATE TABLE T1 (C1 INT PRIMARY KEY, C2 INT )

0 rows affected
RUN INSERT INTO T1 VALUES (1,12)

1 rows affected
RUN INSERT INTO T1 VALUES (2,1234)

1 rows affected
RUN INSERT INTO T1 VALUES (3,98765)

1 rows affected
RUN UPDATE T1 SET C2 = C2 - 98765

3 rows affected
Rows matched: 3  Changed: 3  Warnings: 0
RUN DELETE FROM T1 WHERE C2 = 0

1 rows affected
Mysqlx.Ok {
  msg: "bye!"
}
ok
include/rpl_sync.inc
RUN USE test

0 rows affected
RUN CREATE TABLE T2 (C1 CHAR(20) PRIMARY KEY, C2 INT )

0 rows affected
RUN INSERT INTO T2 VALUES ('ABC',23)

1 rows affected
RUN UPDATE T2 SET C2 = C2 + 27

1 rows affected
Rows matched: 1  Changed: 1  Warnings: 0
RUN INSERT INTO T1 VALUES (4,34)

1 rows affected
RUN INSERT INTO T2 VALUES ('ABCDEF',23)

1 rows affected
RUN INSERT INTO T1 VALUES (5,1234)

1 rows affected
RUN INSERT INTO T2 VALUES ('ABCDEFGHIJ',23)

1 rows affected
RUN DELETE FROM T2 WHERE C1 = 'ABC'

1 rows affected
Mysqlx.Ok {
  msg: "bye!"
}
ok
include/rpl_sync.inc
RUN USE test

0 rows affected
RUN CREATE TABLE T3 (C1 INT PRIMARY KEY, C2 VARCHAR(20) )

0 rows affected
RUN DELETE FROM T1

4 rows affected
RUN INSERT INTO T1 VALUES (1,12345)

1 rows affected
RUN INSERT INTO T3 VALUES (1,'1234')

1 rows affected
RUN INSERT INTO T2 VALUES ('1234',1234)

1 rows affected
RUN INSERT INTO T1 VALUES (7,98765)

1 rows affected
RUN INSERT INTO T2 VALUES ('XYZ',23)

1 rows affected
RUN UPDATE T2 SET C1 = 'ABC' WHERE C1 ='XYZ'

1 rows affected
Rows matched: 1  Changed: 1  Warnings: 0
RUN INSERT INTO T3 VALUES (2,'23')

1 rows affected
RUN INSERT INTO T3 VALUES (3,'234')

1 rows affected
RUN DELETE FROM T3 WHERE C1 > 0

3 rows affected
Mysqlx.Ok {
  msg: "bye!"
}
ok
include/rpl_sync.inc
Checking the Value on T1
RUN SELECT C2 FROM test.T1 WHERE C1=1
Checking the row_count on T2
RUN SELECT C2 FROM test.T2 WHERE C1="ABC"
Mysqlx.Ok {
  msg: "bye!"
}
ok
RUN USE test

0 rows affected
RUN DROP TABLE T1

0 rows affected
RUN DROP TABLE T2

0 rows affected
RUN DROP TABLE T3

0 rows affected
Mysqlx.Ok {
  msg: "bye!"
}
ok
Stopping GR on all the servers
[connection server1]
include/stop_group_replication.inc
include/gr_wait_for_member_state.inc
UNINSTALL PLUGIN mysqlx;
[connection server2]
include/stop_group_replication.inc
include/gr_wait_for_member_state.inc
UNINSTALL PLUGIN mysqlx;
[connection server3]
include/stop_group_replication.inc
include/gr_wait_for_member_state.inc
UNINSTALL PLUGIN mysqlx;
include/group_replication_end.inc

Man Man