Wednesday, June 6, 2012

ClearDB MySQL on Heroku gotcha

Didn't know that a rails project deployed on heroku was using ClearDB MySQL as production database - I just assumed that it's PostgreSQL on Heroku till I saw that ClearDB addon was used. Removing the addon and mysql gems and configuring config/database.yml did not saw the application switched back to PG. Read the ClearDB addon and realized that DATABASE_URL environment was set.

https://devcenter.heroku.com/articles/cleardb

No comments: