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

0

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?

AWS
已提問 4 年前檢視次數 1841 次
1 個回答
0
已接受的答案

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.

AWS
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南