[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

 

相关文章:

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