replication - MySQL slave not using relay logs -
i have slave using tokudb tables, replicating master using innodb tables. master part of pxc, , slave, tokudb tables, uses regular percona server (not xtradb).
when run replication multiple applications connecting master, seems slave server not using relay_log , hence causing replication issues show below:
2016-02-25 16:42:04 9604 [warning] neither --relay-log nor --relay-log-index used; replication may break when mysql server acts slave , has hostname changed!! please use '--relay-log=db-kdb-slave-6-relay-bin' avoid problem. 2016-02-25 16:42:05 9604 [warning] recovery master pos 552554502 , file mysqld-bin.001163. previous relay log pos , relay log file had been set 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 master info repository not secure , therefore not recommended. please consider using user , password connection options start slave; see 'start slave syntax' in mysql manual more information.
more info: have gtid enabled, , slave has log_bin enabled. both servers running on ubuntu 14.04, , have same hardware , server specs.
my question is, how can make sure slave using relay_log?
Comments
Post a Comment