-- 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

相关文章:

  • 2021-05-18
  • 2021-09-14
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
猜你喜欢
  • 2021-09-01
  • 2022-01-22
  • 2022-02-06
  • 2021-08-04
  • 2022-12-23
  • 2021-11-10
相关资源
相似解决方案