MySQL从服务器不使用中继日志

MySQL从服务器不使用中继日志,mysql,replication,gtid,Mysql,Replication,Gtid,我有一个使用TokuDB表的从机,但从一个使用InnoDB表的主机复制。主服务器是PXC的一部分,而从服务器和TokuDB表只使用常规percona服务器(而不是XtraDB) 当我在多个应用程序连接到主服务器的情况下运行复制时,从服务器似乎没有使用中继日志,从而导致复制问题,如下所示: 2016-02-25 16:42:04 9604 [Warning] Neither --relay-log nor --relay-log-index were used; so replication ma

我有一个使用TokuDB表的从机,但从一个使用InnoDB表的主机复制。主服务器是PXC的一部分,而从服务器和TokuDB表只使用常规percona服务器(而不是XtraDB)

当我在多个应用程序连接到主服务器的情况下运行复制时,从服务器似乎没有使用中继日志,从而导致复制问题,如下所示:

2016-02-25 16:42:04 9604 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=db-kdb-slave-6-relay-bin' to avoid this problem.
2016-02-25 16:42:05 9604 [Warning] Recovery from master pos 552554502 and file mysqld-bin.001163. Previous relay log pos and relay log file had been set to 552554714, ./db-kdb-slave-6-relay-bin.002933 respectively.
2016-02-25 16:42:05 9604 [Warning] Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
更多信息:我启用了GTID,并且从机也启用了log_bin。这两台服务器都在Ubuntu 14.04上运行,并且具有相同的硬件和服务器规格


我的问题是,如何确保从机使用的是中继日志?

您是否检查了主机和从机是否运行相同版本的mysql?是的。但我也在使用GTID