PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
MySQL and Linux/Unix
MySQL and macOS
MySQL Partitioning
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL Restrictions and Limitations
Security in MySQL
MySQL and Solaris
Building MySQL from Source
Starting and Stopping MySQL
MySQL Tutorial
MySQL and Windows
MySQL NDB Cluster 7.5
TheRESET SLAVE statement can be used to reset a multi-source replica. By default, if you use theRESET SLAVE statement on a multi-source replica all channels are reset. Optionally, use theFOR CHANNEL clause to reset only a specific channel.channel
To reset all currently configured replication channels:
RESET SLAVE;To reset only a named channel, use a
FOR CHANNELclause:channelRESET SLAVE FOR CHANNEL "source_1";
For GTID-based replication, note thatRESET SLAVE has no effect on the replica's GTID execution history. If you want to clear this, issueRESET MASTER on the replica.
RESET SLAVE makes the replica forget its replication position, and clears the relay log, but it does not change any replication connection parameters, such as the source's host name. If you want to remove these for a channel, issueRESET SLAVE ALL.
For the full syntax of theRESET SLAVE command and other available options, seeSection 13.4.2.3, “RESET SLAVE Statement”.
PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
MySQL and Linux/Unix
MySQL and macOS
MySQL Partitioning
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL Restrictions and Limitations
Security in MySQL
MySQL and Solaris
Building MySQL from Source
Starting and Stopping MySQL
MySQL Tutorial
MySQL and Windows
MySQL NDB Cluster 7.5