Chinaunix首页 | 论坛 | 博客
  • 博客访问: 371218
  • 博文数量: 114
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1219
  • 用 户 组: 普通用户
  • 注册时间: 2015-02-07 21:23
文章分类

全部博文(114)

文章存档

2018年(1)

2017年(5)

2016年(87)

2015年(21)

我的朋友

分类: 系统运维

2016-10-15 10:30:41


  1. 全量导出时出现-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
  2. [root@light4 tools]# sh mysqlbak.sh
  3. -- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
  4. sending incremental file list
  5. ./
  6. 192.168.15.244/
  7. 192.168.15.244/mysql_2016-10-15.tar.gz
  8.      8797112 100% 203.97kB/s 0:00:41 (xfer#1, to-check=1/5)
  9. 192.168.15.244/smartlight_2016-10-15.tar.gz
  10.    163929239 100% 209.31kB/s 0:12:44 (xfer#2, to-check=0/5)


这是因为mysqldump默认是不备份事件表的,只有加了--events 才会,解决办法:

加上--events --ignore-table=mysql.events参数即可;




阅读(739) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~