MySQL的SQL语句 -复制语句(10)- 控制副本服务器的 SQL 语句 - STOP SLA

STOP SLAVE | REPLICA 语句
1.    STOP {SLAVE | REPLICA} [thread_types] [channel_option]
2.
3.    thread_types:
4.    [thread_type [, thread_type] ... ]
5.
6.    thread_type: IO_THREAD | SQL_THREAD
7.
8.     channel_option:
9.        FOR CHANNEL channel

停止复制线程。从 MySQL 8.0.22 开始,不推荐使用 STOP SLAVE,应该使用它的别名 STOP REPLICA。语句的工作方式与以前相同,只是用于语句及其输出的术语发生了更改。两个版本的语句在使用时更新相同的状态变量。

官方网址:

https://dev.mysql.com/doc/refman/8.0/en/stop-slave.html

MySQL的SQL语句 -复制语句(10)- 控制副本服务器的 SQL 语句 - STOP SLA

上一篇:SpringBoot登陆Mysql密码设置的一坑(java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES))


下一篇:CSS3自适应布局之视口高度