- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
2016-11-26 15:16
435 查看
[root@localhost ~]# mysqldump --all-databases --single-transaction --master-data=1 --flush-logs --result-file=dump.sql -S /tmp/mysql3306.sock
-- Warning: Skipping the data of table MySQL.event. Specify the --events option
explicitly.
mysql用mysqldump导出数据库时提示“-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.”
这是因为mysqldump默认是不备份事件表的,解决办法:
1、加上--events \ -E (这样就会备份事件表)
[root@localhost ~]# mysqldump --all-databases --single-transaction --master-data=1 --flush-logs --result-file=dump.sql -E -S
/tmp/mysql3306.sock
[root@localhost ~]#
2、加上--ignore-table=mysql.event (这样就显示地不会备份事件表)
[root@localhost ~]# mysqldump --all-databases --single-transaction --master-data=1 --flush-logs --result-file=dump.sql --ignore-table=mysql.event -S
/tmp/mysql3306.sock
[root@localhost ~]#
--本篇文章转自:-
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.
mysql用mysqldump导出数据库时提示“-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.”
这是因为mysqldump默认是不备份事件表的,解决办法:
1、加上--events \ -E (这样就会备份事件表)
[root@localhost ~]# mysqldump --all-databases --single-transaction --master-data=1 --flush-logs --result-file=dump.sql -E -S
/tmp/mysql3306.sock
[root@localhost ~]#
2、加上--ignore-table=mysql.event (这样就显示地不会备份事件表)
[root@localhost ~]# mysqldump --all-databases --single-transaction --master-data=1 --flush-logs --result-file=dump.sql --ignore-table=mysql.event -S
/tmp/mysql3306.sock
[root@localhost ~]#
--本篇文章转自:-
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.
- -- 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.
- -- 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.
- 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
- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly
- mysql5.5全备份的问题(- Warning: Skipping the data of table mysql.event. Specify the --events option expli)
- mysql 5.5 Warning: Skipping the data of table mysql.event&&mysqldump: Got error: 1142
- warning: Skipping the data of table mysql.event.
- MySQL报错“ you can't specify the target table for ‘update’ in from clause”
- Why does Quora use MySQL as the data store instead of NoSQLs such as Cassandra, MongoDB, CouchDB etc?
- 【MySQL笔记】mysql报错"ERROR 1206 (HY000): The total number of locks exceeds the lock table size"的解决方法
- mac 下从设置启动mysql 失败,“Warning:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_mys
- 【MySQL笔记】解除输入的安全模式,Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Queries and reconnect.
- MYSQL 遭遇 THE TOTAL NUMBER OF LOCKS EXCEEDS THE LOCK TABLE SIZE
- 101.Examine the data in the PROMO_BEGIN_DATE column of the PROMOTIONS table:
- 83.Examine the data in the CUST_NAME column of the CUSTOMERS table.
- What if a data file of the Non-System tablespace is missing?