码迷,mamicode.com
首页 > 其他好文 > 详细

部署MHA

时间:2019-10-24 20:02:44      阅读:104      评论:0      收藏:0      [点我收藏+]

标签:ln -s   man   rpm -ivh   mysq   div   manager   python   isp   binlog   

yum install perl-DBD-MySQL -y
 1005  rpm -ivh mha4mysql-node-0.56-0.el6.noarch.rpm 
 1006  mysql -uroot -p123
 1007  ln -s /usr/local/mysql/bin/mysql /usr/bin/
 1008  rm /usr/bin/mysql
 1009  ln -s /usr/local/mysql/bin/mysql /usr/bin/
 1010  ln -s /usr/local/mysql/bin/mysqlbinlog /usr/bin/
 1011  rm /usr/bin/mysqlbinlog 
 1012  ln -s /usr/local/mysql/bin/mysqlbinlog /usr/bin/
 1013  ll /usr/bin/mysql*
 1014   yum install -y perl-Config-Tiny epel-release perl-Log-Dispatch perl-Parallel-ForkManager perl-Time-HiRes
 1015  rz -E
 1016  ll
 1017  rpm -ivh mha4mysql-manager-0.56-0.el6.noarch.rpm 

  

部署MHA

标签:ln -s   man   rpm -ivh   mysq   div   manager   python   isp   binlog   

原文地址:https://www.cnblogs.com/xuqidong/p/11734306.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!