码迷,mamicode.com
首页 > 数据库 > 详细

-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.

时间:2016-06-17 17:17:17      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:

 

[root@DB ~]# mysqldump -uroot -p123  --flush-logs --all-databases >fullbackup_sunday_11_PM.sql
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.

 这是因为mysqldump默认是不备份事件表的,只有加了--events才会,解决办法:加上--events --ignore-table=mysql.events参数;

[root@DB ~]# /usr/local/mysql/bin/mysqldump -uroot -p123  --events --ignore-table=mysql.events --flush-logs --all-databases >fullbackup_sunday_11_PM.sql

 

-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.

标签:

原文地址:http://www.cnblogs.com/bass6/p/5594429.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!