| | 1 | |
| | 2 | |
| | 3 | {{{ |
| | 4 | mysql> SET @@GLOBAL.group_replication_group_name='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee'; |
| | 5 | Query OK, 0 rows affected (0.00 sec) |
| | 6 | |
| | 7 | mysql> SET @@GLOBAL.group_replication_local_address='nodedb2:33061'; |
| | 8 | Query OK, 0 rows affected (0.00 sec) |
| | 9 | |
| | 10 | mysql> SET @@GLOBAL.group_replication_group_seeds='nodedb1:33061,nodedb2:33061,nodedb3:33061'; |
| | 11 | Query OK, 0 rows affected (0.00 sec) |
| | 12 | |
| | 13 | mysql> SET @@GLOBAL.group_replication_bootstrap_group=0; |
| | 14 | Query OK, 0 rows affected (0.00 sec) |
| | 15 | |
| | 16 | mysql> SET @@global.group_replication_recovery_retry_count=5; |
| | 17 | Query OK, 0 rows affected (0.00 sec) |
| | 18 | |
| | 19 | mysql> change master to master_user='repl' for channel 'group_replication_recovery'; |
| | 20 | Query OK, 0 rows affected, 2 warnings (0.34 sec) |
| | 21 | |
| | 22 | mysql> START GROUP_REPLICATION; |
| | 23 | |
| | 24 | }}} |