没试过,不过恐怕不行。 5.6的文档是这么说的“using the MASTER_AUTO_POSITION option to tell the slave that transactions will be identified by GTIDs. ”,也就是说开启GTID的参数叫做MASTER_AUTO_POSITION。人家名字都叫AUTO_POSITION,再手动指定,明显和名字冲突。而且下面的文档也说了,如果要手动指定位置,则要把这个参数设为0 文档见此:http://dev.mysql.com/doc/refman/5.6/en/replication-gtids-howto.html
5.6的文档是这么说的“using the MASTER_AUTO_POSITION option to tell the slave that transactions will be identified by GTIDs. ”,也就是说开启GTID的参数叫做MASTER_AUTO_POSITION。人家名字都叫AUTO_POSITION,再手动指定,明显和名字冲突。而且下面的文档也说了,如果要手动指定位置,则要把这个参数设为0
文档见此:http://dev.mysql.com/doc/refman/5.6/en/replication-gtids-howto.html