摘要: MySQL5.7+Keepalived双主HA架构 https://blog.csdn.net/cuiruidu3106/article/details/100438947 HA部署步骤 1、mysql_check.sh脚本 发现mysql挂了 杀死本机的keepalived 主备均部署 cat > 阅读全文
posted @ 2022-02-10 19:49 tonggc1668 阅读(262) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #/etc/keepalived/check_mysql.sh #chmod u+x /etc/keepalived/check_mysql.sh if [ `ps -ef|grep -w "$0"|grep -v "grep"|wc -l` -gt 2 ];then exi 阅读全文
posted @ 2022-02-10 19:35 tonggc1668 阅读(29) 评论(0) 推荐(0) 编辑
摘要: binlog_ignore_db引起的同步复制故障 https://blog.csdn.net/cuiruidu3106/article/details/100439021 replicate_wild_do_table和replicate-wild-ignore-table的使用【转】 https 阅读全文
posted @ 2022-02-10 13:32 tonggc1668 阅读(28) 评论(0) 推荐(0) 编辑