Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Magento running on Heroku but the DB is on Dreamhost (because Heroku doesn't host mySQL). I get a Database connection error from Magento whenever I try to connect. Anyone ever done this?

share|improve this question
Did you configure the database to allow external connections? By default they're only accessible from within the Dreamhost system. – Su' Apr 2 '12 at 22:21

Yes you can, I just wrote a blog post on doing just this http://markshust.com/2012/10/29/deploying-magento-heroku-amazon-rds

share|improve this answer

See http://wiki.dreamhost.com/Mysql#Connect_to_Your_MySQL_Database_from_Third-Party_Programs instructions for making your mysql instance visible to your heroku app.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.