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