This topic describes how to use the RESET SLAVE ALL statement to remove primary/secondary replication links established by executing the CHANGE MASTER TO statement.
Syntax
RESET SLAVE ALL [ channel_option ]
channel_option:
FOR CHANNEL channelExample 1
Execute the following statement to remove all primary/secondary replication links established by executing the CHANGE MASTER TO statement.
RESET SLAVE ALL;Example 2
Execute the following statement to remove the primary/secondary replication link with the channel named TEST.
RESET SLAVE ALL for channel 'TEST';