-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
2014-07-17 14:39
441 查看
[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.
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
- 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.
- Why does Quora use MySQL as the data store instead of NoSQLs such as Cassandra, MongoDB, or CouchDB?
- mysql出现The total number of locks exceeds the lock table size解决办法
- MySQL报错“ you can't specify the target table for ‘update’ in from clause”
- MYSQL 遭遇 THE TOTAL NUMBER OF LOCKS EXCEEDS THE LOCK TABLE SIZE
- mac 下从设置启动mysql 失败,“Warning:The /usr/local/mysql/data directory is not owned by
- 106.Examine the data in the LIST_PRICE and MIN_PRICE columns of the PRODUCTS table:
- Why does Quora use MySQL as the data store instead of NoSQLs such as Cassandra, MongoDB, CouchDB etc?
- 101.Examine the data in the PROMO_BEGIN_DATE column of the PROMOTIONS table:
- What if a data file of the Non-System tablespace is missing?