428d851913
* refactor: generic rename to mysql * refactor: g4 with mysql syntax * test: mysql syntax * refactor: remove useless keywords * refactor: remove nonReserved keywords * refactor: lint specificFunction --------- Co-authored-by: liuyi <liuyi@dtstack.com>
17 lines
483 B
SQL
17 lines
483 B
SQL
-- https://dev.mysql.com/doc/refman/8.0/en/start-group-replication.html
|
|
|
|
/* START GROUP_REPLICATION
|
|
[USER='user_name']
|
|
[, PASSWORD='user_pass']
|
|
[, DEFAULT_AUTH='plugin_name'] */
|
|
|
|
START GROUP_REPLICATION USER='user_name', PASSWORD='user_pass', DEFAULT_AUTH='plugin_name';
|
|
START GROUP_REPLICATION USER='user_name', PASSWORD='user_pass';
|
|
START GROUP_REPLICATION;
|
|
|
|
|
|
|
|
-- https://dev.mysql.com/doc/refman/8.0/en/stop-group-replication.html
|
|
|
|
STOP GROUP_REPLICATION;
|