Documentation Home
MySQL Replication
Related Documentation Download this Excerpt
PDF (US Ltr) - 1.4Mb
PDF (A4) - 1.4Mb
HTML Download (TGZ) - 367.0Kb
HTML Download (Zip) - 381.4Kb

MySQL Replication  /  ...  /  Stopping Multi-Source Replication Slaves 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 thread_types;
  • To stop only a named channel, use a FOR CHANNEL channel clause:

    STOP SLAVE thread_types FOR CHANNEL channel;

Use the thread_types option to choose specific threads you want the above statements to stop on the slave. See STOP SLAVE Syntax for more information.