17.1.4 Replication and Binary Logging Options and Variables

本文档详细介绍了MySQL复制和二进制日志相关的选项和变量,包括主服务器和从服务器的设置,如–server-id选项,用于确保在复制过程中服务器的唯一标识。server_id变量是动态的,全局范围,且必须在主和从服务器上设置为1到2^32-1之间的唯一值。此外,从MySQL 5.6开始,服务器还会生成一个server_uuid,用于GTID(全局事务标识符)和复制过程中的服务器识别。
摘要由CSDN通过智能技术生成

17.1.4 Replication and Binary Logging Options and Variables 复制和Binary logging 选择和变量

17.1.4.1 Replication and Binary Logging Option and Variable Reference 复制和Binary Logging 选项和变量引用

17.1.4.2 Replication Master Options and Variables 复制Master选项和变量

17.1.4.3 Replication Slave Options and Variables 复制Slave选项和变量

17.1.4.4 Binary Log Options and Variables Binary Log选项和变量

17.1.4.5 Global Transaction ID Options and Variables

下面的章节包含信息关于mysqld 选项和server 变量,用于复制和配置binary log.

选项和变量用于复制master和复制slave 是单独的,选项和变量和binary logging 相关。

快速参考表提供了基本的信息关于那些选项和变量也包括在内:

特别重要的是–server-id 选项:

Command-Line Format –server-id=#
System Variable Name server_id
Variable Scope Global
Dynamic Variable Yes
Permit

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

scan724

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值