Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
作为迁移的一部分,我需要从 MySQL 5.6 集群导出 MySQL 事件并将它们导入 MySQL 5.7 集群
复制表是否mysql.event足够,或者是否有更好的方法仅从 MySQL 数据库中导出事件?
mysql.event
我试过这个:
mysqldump -A --no-data --no-create-info --skip-triggers --no-create-db \ --events > just-events.sql
它似乎只转储事件。