上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 43 下一页
摘要: [root@localhost yum.repos.d]# yum remove device-mapper-persistent-dataLoaded plugins: langpacks, ulninfoResolving Dependencies--> Running transaction 阅读全文
posted @ 2020-07-08 16:16 beawh 阅读(2269) 评论(0) 推荐(0) 编辑
摘要: 1、yum install [root@localhost yum.repos.d]# yum install -y yum-utils device-mapper-persistent-data lvm2 2、rpm -qa查询安装 [root@localhost yum.repos.d]# rp 阅读全文
posted @ 2020-07-08 16:12 beawh 阅读(5493) 评论(0) 推荐(0) 编辑
摘要: mysqld_safe --defaults-file=/etc/my5730.cnf --basedir=/usr/local/mysql730 --datadir=/data/mysql_data5.7.30 & ln -s /var/log/mysql/mysql.sock /data/mys 阅读全文
posted @ 2020-07-06 15:09 beawh 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 试图修改max_allowed_packet 参数大小,无效。 在mysqldump 出文件的开头添加了以下文本,恢复成功,source 不报错。 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 S 阅读全文
posted @ 2020-07-06 11:31 beawh 阅读(778) 评论(0) 推荐(0) 编辑
摘要: error:Found option without preceding group in config file : /etc/my5730.cnf at line 1 Fatal error in defaults handling .Program aborted 原因 my5730.cnf 阅读全文
posted @ 2020-07-03 15:43 beawh 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 升级吧后浪。 阅读全文
posted @ 2020-06-30 11:09 beawh 阅读(1437) 评论(0) 推荐(0) 编辑
摘要: 1、启动mha: [root@pxc2 ~]# masterha_manager --conf=/opt/mha/conf/mha.cnf Mon Jun 29 00:29:03 2020 - [warning] Global configuration file /etc/masterha_def 阅读全文
posted @ 2020-06-29 15:46 beawh 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 1 Mysql mha简介 MHA (Master Hight Availability) 是目前在Mysql高可用方面一个相对成熟的解决方案,也是在Mysql高可用环境下故障切换和主从提升的常用软件。在Mysql 故障切换过程中,MHA 能极短时间内自动完成数据库的故障切换操作。 MHA软件由两部 阅读全文
posted @ 2020-06-29 12:12 beawh 阅读(366) 评论(0) 推荐(0) 编辑
摘要: [root@pxc2 ~]# cat /root/master_ip_failover #!/usr/bin/env perl use strict;use warnings FATAL => 'all'; use Getopt::Long; my ( $command, $ssh_user, $o 阅读全文
posted @ 2020-06-29 11:55 beawh 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 配置3台服务器SSH 互信: 1)打开ssh配置文件,启用以下选项 RSAAuthentication yes #允许RSA认证 PubkeyAuthentication yes #允许公钥认证 AuthorizedKeysFile .ssh/authorized_keys #公钥存放地址 Perm 阅读全文
posted @ 2020-06-23 16:33 beawh 阅读(562) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 43 下一页