上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 44 下一页
摘要: 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 阅读(282) 评论(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 阅读(843) 评论(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 阅读(263) 评论(0) 推荐(0)
摘要: 升级吧后浪。 阅读全文
posted @ 2020-06-30 11:09 beawh 阅读(1454) 评论(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 阅读(177) 评论(0) 推荐(0)
摘要: 1 Mysql mha简介 MHA (Master Hight Availability) 是目前在Mysql高可用方面一个相对成熟的解决方案,也是在Mysql高可用环境下故障切换和主从提升的常用软件。在Mysql 故障切换过程中,MHA 能极短时间内自动完成数据库的故障切换操作。 MHA软件由两部 阅读全文
posted @ 2020-06-29 12:12 beawh 阅读(394) 评论(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 阅读(349) 评论(0) 推荐(0)
摘要: 配置3台服务器SSH 互信: 1)打开ssh配置文件,启用以下选项 RSAAuthentication yes #允许RSA认证 PubkeyAuthentication yes #允许公钥认证 AuthorizedKeysFile .ssh/authorized_keys #公钥存放地址 Perm 阅读全文
posted @ 2020-06-23 16:33 beawh 阅读(593) 评论(0) 推荐(0)
摘要: Tomcat安装规范--转载 注:所有线上运行tomcat必须严格安装本标准执行。 1.1 tomcat用户设置 [tomcat@tuan-node1 ~]# useradd -d /tomcat -u 501 tomcat [tomcat@tuan-node1 ~]# passwd tomcat 阅读全文
posted @ 2020-06-21 21:43 beawh 阅读(179) 评论(0) 推荐(0)
摘要: mysql> stop slave ;Query OK, 0 rows affected (0.00 sec) mysql> start slave ;Query OK, 0 rows affected (0.05 sec) mysql> show slave status \G;********* 阅读全文
posted @ 2020-06-21 21:14 beawh 阅读(628) 评论(0) 推荐(0)
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 44 下一页