By using AWS re:Post, you agree to the Terms of Use
/AWS DMS migration task doesn't automatically increment the source table/

AWS DMS migration task doesn't automatically increment the source table


I'm trying to perform a basic AWS DMS migration of Amazon RDS MySQL to Amazon Aurora MySQL. The data from the source table has been successfully copied, and I performed an alter table on the database, which auto incremented the primary key. However, whenever data was inserted in to the database, the target hadn't been updated. Is there any configuration within the data replication task that will allow me to do this? Or is this something that needs to be done manually?

1 Answers
Accepted Answer

It isn't recommended to use AWS DMS or mysqldump to transfer a schema. This approach can cause issues such as the one you're experiencing, where a column marked as auto_increment did not transfer over successfully.

answered 2 years 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