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

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

时间:2018-01-21 16:15:57      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:ecif   ase   post   默认   spec   dump   gpo   解决   database   

/usr/local/mysql/bin/mysqldump -uroot -pxxxxx --all-databases > all.sql

mysql用mysqldump导出数据库时提示“-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.”

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

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

/usr/local/mysql/bin/mysqldump -uroot -pxxxxx --events --ignore-table=mysql.events --all-databases > all.sql

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

标签:ecif   ase   post   默认   spec   dump   gpo   解决   database   

原文地址:https://www.cnblogs.com/xiaoleiel/p/8324103.html

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