Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用GTID复制MySQL Master-Slave时,由于GTID不依赖binlog-file和binlog_position,而是使用auto_position,是否需要在slave上设置binlog和relay_log?
在基于 GTID 的复制 binlog 文件中,启动从站不需要文件和位置,但需要文件。
从机读取binlog文件和将命令复制到中继日志的过程是相同的,以便从机mysqld进程可以写入自己的数据集。