Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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
1  
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

2 Answers 2

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

 
discard

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.