Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

173
Views
Migrate RDS to Aurora MySQL with Ruby on rails Elastic Beanstalk

I have a Ruby On Rails App on Elastic Beanstalk with MySQL RDS, and I want to migrate it to Aurora MySQL, I could migrate my database and I have the new endpoint of Aurora MySQL, I first tried to connect it in my development environment to check if everything was going good, but when I try to deploy in production I got an error by elastic beanstalk "12_db_migration.sh failed.", but It does not have sense because I connected the database in development and It worked, It looks like if elastic beanstalk couldn't connect to the database, all credentials are correct. There are not pending migrations, and the error message does not have sense. Something important is that my previous MySQL version is 5.7.24 and the MySQL version of my new Aurora MySQL database is 5.7.12, but I think It doesn't matter because in development worked well.

Thank you.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

okay, I could fix it, the problem was that I was written my credentials in database.yml file without using environment variables, I was testing something and I didn't use environment variables, and It looks that I cannot do that, I use environment variables in the file and everything worked.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!