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