mysql开启中继日志_MySQL slave不使用中继日志

我有一个使用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?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值