大家好,我是anyux。本文介绍MySQL基于MHA高可用搭建。
ln-s/data/mysql/bin/mysqlbinlog/usr/bin/mysqlbinlogln-s/data/mysql/bin/mysql/usr/bin/mysql
配置互信
db01
rm-rf/root/.sshssh-keygencd/root/.sshmvid_rsa.pubauthorized_keysscp-r/root/.ssh...:/rootscp-r/root/.ssh...:/rootscp-r/root/.ssh...:/root
验证各节点,注意需要互相验证
db01
ssh...date
db02
ssh...date
db03
ssh...date
下载地址
下载mha软件
mha