Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8648217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:15:45+00:00 2026-06-12T13:15:45+00:00

I am trying to use a RDS database with my rails app since eventually

  • 0

I am trying to use a RDS database with my rails app since eventually I want to put it on heroku. (Database is about 10gb). I had trouble getting it to connect but it seems to be working. If I go into the console I can run sphinx searches and all that I need to but when I start the server it seems to freeze or something. If I click “About your application’s environment” nothing happens. I do not get any messages in the console or anything. If I try to go to another page it just tries loading the page but does not go anywhere.

Here is what my database.yml looks like.

# development:
#   adapter: postgresql
#   encoding: unicode
#   database: musicbrainz_post
#   pool: 5
#   username: postgres
#   password:

development:
  adapter: mysql2
  #encoding: utf8
  host: musicbrainz.somestuff.amazonaws.com
  #port: 3306
  #reconnect: false
  database: musicbrainz
  username: myusername
  password: mypass

If I comment out my old database configuration it works and the pages load and everything. But I want to use the amazon database.

Does anyone know why this is? Or is there another database/host I should be using?

Any help would be great!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:15:47+00:00Added an answer on June 12, 2026 at 1:15 pm

    After experiencing the same problem I found out what the problem was. The problem is that you need to use Ruby 1.9.3 as opposed to Ruby 1.8.7. I think the bug is occuring in the mysql2 gem.

    Therefore the fix is to install Ruby 1.9.3. Here are the steps I followed:

    NOTE: Before starting any of these steps, set up your terminal to “Run command as a login shell”. For Ubuntu, open the terminal go to Edit -> Profile Preferences. Go to “Title and Command”. Check the box next to “Run command as a login shell”

    1. Installed RVM on my system with ruby and ruby on rails bundled: https://rvm.io/rvm/install/ Command: \curl -L https://get.rvm.io | bash -s stable –rails
    2. Command: source ~/.rvm/scripts/rvm
    3. Used RVM to install OpenSSL: rvm pkg install openssl
    4. Reinstall all rubies: rvm reinstall all –force
    5. Because you are now using RVM to manage both your rubies and your gems your gem environment will be new. Therefore you must reinstall any gems. Do so by going to your project and running: bundle install
    6. Run your rails app: bundle exec rails s

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying use a Java Uploader in a ROR app (for its ease
trying to use hibernate with my web app and getting following exception: Initial SessionFactory
I am trying use Date Picker and on Select i want to display the
I'm trying to create a trigger on a table in my Amazon RDS database,
I'm trying use double type in openCL, but doesn't work anyway, i want use
I am trying use the onClick() function in an activity for an android app.
I am trying use neo4j with Ruby on rails on Mac OSX. I have
Im trying use a Java annotation in a Groovy class but have trouble to
i'm trying use facebook API to upload photo in my fan page. I downloaded
I am trying use gem tire to search in my application. I have tables

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.