AWS DMS迁移任务不会自动递增源表

0

【以下的问题经过翻译处理】 我正在尝试对用AWS DMS 迁移 Amazon RDS MySQL 到 Amazon Aurora MySQL。源表中的数据已经成功复制,我在数据库上执行了一次alter table操作,这会使主键自动递增。然而,每当数据插入到数据库中时,目标都没有被更新。数据复制任务中是否有任何配置允许我执行此操作?还是需要手动完成?

profile picture
EXPERT
asked 9 months ago52 views
1 Answer
0

【以下的回答经过翻译处理】 不建议使用AWS DMS来迁移schema(使用mysqldump)。这种方法可能会导致问题,例如您正在遇到的问题,其中标记为auto_increment的列未成功迁移。

profile picture
EXPERT
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions