当前位置:Gxlcms > 数据库问题 > -- 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.

时间:2021-07-01 10:21:17 帮助过:3人阅读

 

[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

 

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

标签:

人气教程排行