【MySQL】 GTID使用

参考:http://hcymysql.blog.51cto.com/5223301/1579197

参考:http://blog.itpub.net/29733787/viewspace-1462550/

#### 配置
gtid_mode = ON
enforce_gtid_consistency = 1


#### 配置复制
CHANGE MASTER TO  
MASTER_HOST = '10.207.0.1', 
MASTER_PORT = 3306, 
MASTER_USER = 'repl', 
MASTER_PASSWORD = 'repl', 
MASTER_AUTO_POSITION = 1;
start slave;
原文地址:https://www.cnblogs.com/jiangxu67/p/5620452.html