How to deploy a Rails app using Mysql on heroku?
I find out that my app did not need Amazon RDS (Too expensive for a small app).
Here is my answer how to use Amazon RDS
How to deploy a Rails app using Mysql on heroku?
I find out that my app did not need Amazon RDS (Too expensive for a small app).
Here is my answer how to use Amazon RDS
Include mysql2 gem in your gemfile:
Now, your choice can be: https://addons.heroku.com/cleardb add-ons. You can get upto 5mb free storage but you need to fill your credit card information for accessing it.
Steps for using clearDB add-ons are:
Please follow: https://devcenter.heroku.com/articles/cleardb for more information
Hope that can help you.
If you do a
heroku db:push
from your MySql data, it'll automatically get pushed into the heorku PostgreSQL database structure.You can then do db:pulls and pull back into mysql. Taps provides this database magic.
It's really great -- I'd try it out first before trying to get RDS working.