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


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

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参数即可:

mysqldump -uroot -pxxxxx --events --ignore-table=mysql.events --all-databases > all.sql

参考URL

http://bugs.mysql.com


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM