0

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

当我使用多个连接到主服务器的应用程序运行复制时,从服务器似乎没有使用 relay_log,因此导致复制问题,如下所示:

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 上运行,并且具有相同的硬件和服务器规格。

我的问题是,我如何确保从站正在使用 relay_log?

4

0 回答 0