Display data from remote mysql database

Hi,

I’m new to Ruby on Rails and have a little problem. I currently have a
mysql database on a separate server than the one I’m building and
running rails apps on. Is it possible to query the remote database and
display those results in a rails app, or am I asking for problems?

This is really the only thing I’m trying to do with rails at the moment,
just to get me started. I know the usual approach is the build and
manage the database with the rails app, but I don’t need to do that in
this case.

Thanks

Thats no problem at all and is no different that connecting to the
local database other than changing the settings in database.yml. If
you want to conncet to multiple databases, look here:

http://wiki.rubyonrails.org/rails/pages/HowtoUseMultipleDatabases

-Bill

William P. wrote:

Thats no problem at all and is no different that connecting to the
local database other than changing the settings in database.yml. If
you want to conncet to multiple databases, look here:

http://wiki.rubyonrails.org/rails/pages/HowtoUseMultipleDatabases

-Bill

Thanks Bill,

I’ll look into that.