RESET {SLAVE | REPLICA} [ALL] [channel_option
]channel_option
: FOR CHANNELchannel
Makes the replica forget its position in the source's binary log. 使复制副本忘记其在源二进制日志中的位置。From MySQL 8.0.22, 在MySQL 8.0.22中,不推荐使用RESET SLAVE
is deprecated and the alias RESET REPLICA
should be used instead. RESET SLAVE
,而应使用别名RESET REPLICA
。In releases before MySQL 8.0.22, use 在MySQL 8.0.22之前的版本中,使用RESET SLAVE
. RESET SLAVE
。The 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
文档。