Documentation Home
MySQL Replication
Related Documentation Download this Excerpt
PDF (US Ltr) - 1.5Mb
PDF (A4) - 1.5Mb
HTML Download (TGZ) - 378.5Kb
HTML Download (Zip) - 392.8Kb


MySQL Replication  /  ...  /  Stopping Multi-Source Replication Slaves

2.4.6 Stopping Multi-Source Replication Slaves

The STOP SLAVE statement can be used to stop a multi-source replication slave. By default, if you use the STOP SLAVE statement on a multi-source replication slave all channels are stopped. Optionally, use the FOR CHANNEL channel clause to stop only a specific channel.

  • To stop all currently configured replication channels:

    STOP SLAVE;
  • To stop only a named channel, use a FOR CHANNEL channel clause:

     STOP SLAVE FOR CHANNEL "master_1";

For the full syntax of the STOP SLAVE command and other available options, see STOP SLAVE Statement.