Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 35.1Mb
PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
Excerpts from this Manual

16.1.5.6 Stopping Multi-Source Replicas

TheSTOP SLAVE statement can be used to stop a multi-source replica. By default, if you use theSTOP SLAVE statement on a multi-source replica all channels are stopped. Optionally, use theFOR CHANNELchannel clause to stop only a specific channel.

  • To stop all currently configured replication channels:

    STOP SLAVE;
  • To stop only a named channel, use aFOR CHANNELchannel clause:

    STOP SLAVE FOR CHANNEL "source_1";

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