Chinaunix首页 | 论坛 | 博客
  • 博客访问: 351233
  • 博文数量: 86
  • 博客积分: 1460
  • 博客等级: 上尉
  • 技术积分: 848
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-12 14:07
文章分类

全部博文(86)

文章存档

2017年(36)

2016年(17)

2015年(1)

2013年(12)

2012年(2)

2011年(1)

2010年(1)

2009年(16)

我的朋友

发布时间:2017-07-21 14:55:56

1. 主库报错2017-07-19T13:07:07.229901+08:00 0 [Note] Failed to select() on semi-sync dump sockets, error: errno=92017-07-19T13:38:23.464859+08:00 0 [Note] Failed to select() on semi-sync dump sockets, error: errno=92. 从库报错2017-07-19T17:28:30.314448+08:00 1234432 [ERROR] Semi-sync slave net.........【阅读全文】

阅读(3068) | 评论(0) | 转发(0)

发布时间:2017-07-13 17:22:30

发现之前有数据的zabbix监控 没有数据了,应该是更改了东西,但是不知道改了哪里,查看/tmp 目录下面没有生成cachefilelocalhost-mysql_cacti_stats.txt    说明采集程序没有正常的5分钟运行一次或者报错手动运行下面的测试脚本,都能正常生成cachefile/var/lib/zabbix/percona/scripts/get_mysql_stats_wrap.........【阅读全文】

阅读(2312) | 评论(0) | 转发(0)

发布时间:2017-07-13 12:00:58

1. 创建control 文件  vi c.ctlload datainfile '/home/oracle/12.csv'append into table tmpuserFIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'(CLIENTID,CREATETIME date "yyyy/mm/dd hh24:mi:ss",USERID)2. 执行命令  因为12.csv  文件是excel 文件  里面有title ,需要跳过一.........【阅读全文】

阅读(1593) | 评论(0) | 转发(0)

发布时间:2017-06-29 09:37:32

1. reset master    reset slave    change master  都会导致Retrieved_Gtid_Set:  被清空   如果重新接收了binlog   Retrieved_Gtid_Set:会冲新的事物id 开始2.  Executed_Gtid_Set 不为空  gtid_purged 无法设置, reset master 会清空Executed_Gtid_Set.........【阅读全文】

阅读(1508) | 评论(0) | 转发(0)

发布时间:2017-06-26 16:42:00

搭建1主2从  架构mha  进行测试1. 报错如下masterha_master_switch --master_state=alive --conf=/etc/mha/app1.cnf --new_master_host=172.16.1.79 --orig_master_is_new_slave --interactive=0原因:  确认是由于监控主从状态的用户和主从复制用户缺少reload 权限,grant 就可以了,报错也可以切换.........【阅读全文】

阅读(2100) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册