13.4.2.6 RESET SLAVE | REPLICA Statement语句

RESET {SLAVE | REPLICA} [ALL] [channel_option]
channel_option:
    FOR CHANNEL channel

Makes the replica forget its position in the source's binary log. 使复制副本忘记其在源二进制日志中的位置。From MySQL 8.0.22, RESET SLAVE is deprecated and the alias RESET REPLICA should be used instead. 在MySQL 8.0.22中,不推荐使用RESET SLAVE,而应使用别名RESET REPLICAIn releases before MySQL 8.0.22, use RESET SLAVE. 在MySQL 8.0.22之前的版本中,使用RESET SLAVEThe statement works in the same way as before, only the terminology used for the statement and its output has changed. 语句的工作方式与以前相同,只是用于语句及其输出的术语发生了更改。Both versions of the statement update the same status variables when used. 语句的两个版本在使用时更新相同的状态变量。Please see the documentation for RESET REPLICA for a description of the statement.有关该语句的说明,请参阅RESET REPLICA文档。