RDS "Restore from S3" Stuck in "Creating" Status

0

I am unable to do a "Restore from S3" operation, following the documentation here: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html I have tried both Aurora and RDS MySQL, and they both get stuck in "Creating" status. I can connect to the instance, and see that the imported data is there. I have examined the logs on the RDS MySQL instance, and see no errors. How can I get unstuck from "Creating" status?

2개 답변
0

Hello,

Try running with:

@with_norecovery = 0

and see if that works for you. Setting it to 1 leaves it in a state where you can then restore additional transaction logs etc, or set up replication. If you want the database usable, you need to leave it in an online state, which setting it to 0 should do.

profile pictureAWS
지원 엔지니어
답변함 2년 전
  • I don't think MySQL has an equivalent parameter to SQL Server's @with_norecovery.

0

I found the cause. In the source database from which the backup was taken, there was a user "admin"@"localhost". When I was choosing the DB create parameters, I accepted the default master user name which was: "admin"@"localhost". This conflict caused the restore to fail on creating the master user and then retry, apparently in an infinite loop. I solved the problem simply by choosing a different name for the master user.

S Evett
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠