Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 36.6Mb
PDF (A4) - 36.6Mb
PDF (RPM) - 36.7Mb
HTML Download (TGZ) - 10.7Mb
HTML Download (Zip) - 10.7Mb
HTML Download (RPM) - 9.4Mb
Man Pages (TGZ) - 224.8Kb
Man Pages (Zip) - 332.7Kb
Info (Gzip) - 3.3Mb
Info (Zip) - 3.3Mb
Excerpts from this Manual

MySQL 5.7 Reference Manual  /  ...  /  Stopping Multi-Source Replicas

16.1.5.6 Stopping Multi-Source Replicas

The STOP SLAVE statement can be used to stop a multi-source replica. By default, if you use the STOP SLAVE statement on a multi-source replica 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 "source_1";

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