STOP/RESET SLAVE FOR CHANNEL
This commit is contained in:
parent
1e1d7e67e1
commit
0179f071b6
|
@ -721,3 +721,17 @@ Comme ça on peut voir l'erreur explicite :
|
|||
~~~
|
||||
Error 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=1' at line 1' on query. Default database: 'DB_content_cfbe'. Query: 'delete from toppops_cfbe_null_20200702_104153_V220 where rank=1'
|
||||
~~~
|
||||
|
||||
## Actions sur les slaves en mode réplication par Channel
|
||||
|
||||
Faire un `SHOW SLAVE STATUS\G` pour connaitre le `Channel_Name`, puis faire les actions classiques, `START`, `STOP`, `RESET`.
|
||||
|
||||
Exemple :
|
||||
|
||||
~~~
|
||||
mysql> STOP SLAVE FOR CHANNEL "cdb0-sql41";
|
||||
Query OK, 0 rows affected (2.01 sec)
|
||||
|
||||
mysql> RESET SLAVE ALL FOR CHANNEL "cdb0-sql41";
|
||||
Query OK, 0 rows affected (0.02 sec)
|
||||
~~~
|
Loading…
Reference in a new issue