Hi Alex,

In theory no, you can't access the DB from outside the application. We
recommend that you encapsulate the DB from your app, offering an API
to manipulate it.

And yes you can configure your apps to connect to any DB server you
want. On ActiveRecord you can do it with the method
establish_connection, documented here:
http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M002364

Pedro

On Mon, Jul 27, 2009 at 2:54 PM, Alex<[email protected]> wrote:
>
> Is it possible to access the heroku apps DB from outside the
> application?
>
> Also, can an app be configured to use an outside DB server? From what
> I've seen the app just gets picked up and put into the heroku
> PostgreSQL DB...
>
> Thanks for any info,
> Alex
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to