percona5.7开启gtid

## 配置
gtid_mode=on
enforce_gtid_consistency=on

从库启用Gtid的自动查找节点复制:
stop slave;
change master to master_auto_position=1;
start slave;
show slave status\G

当前名称:percona5.7开启gtid
浏览地址:http://ybzwz.com/article/geighp.html