wiki:GROUPReplicate3

Version 1 (modified by krit, 2 years ago) (diff)

--

mysql> SET @@GLOBAL.group_replication_group_name='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee';
Query OK, 0 rows affected (0.00 sec)

mysql> SET @@GLOBAL.group_replication_local_address='nodedb2:33061';
Query OK, 0 rows affected (0.00 sec)

mysql> SET @@GLOBAL.group_replication_group_seeds='nodedb1:33061,nodedb2:33061,nodedb3:33061';
Query OK, 0 rows affected (0.00 sec)

mysql>  SET @@GLOBAL.group_replication_bootstrap_group=0;
Query OK, 0 rows affected (0.00 sec)

mysql> SET @@global.group_replication_recovery_retry_count=5;
Query OK, 0 rows affected (0.00 sec)

mysql> change master to master_user='repl' for channel 'group_replication_recovery';
Query OK, 0 rows affected, 2 warnings (0.34 sec)

mysql> START GROUP_REPLICATION;