# Who knows if i can have 2 databases in my app

**URL:** <https://www.ruby-forum.com/t/who-knows-if-i-can-have-2-databases-in-my-app/119311>\
**Category:** Ruby-Forum\
**Created:** [November 5, 2007, 11:38pm UTC](https://www.ruby-forum.com/t/who-knows-if-i-can-have-2-databases-in-my-app/119311 "2007-11-05T23:38:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![malooking](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/77aa72/32.png) [@malooking](https://www.ruby-forum.com/u/malooking)\
**Post date:** [November 5, 2007, 11:38pm UTC](https://www.ruby-forum.com/t/who-knows-if-i-can-have-2-databases-in-my-app/119311/1 "2007-11-05T23:38:56Z")

</div>

Please, i need help.

i wonder if rail allows to have 1 legacy database in informix and other  
mysql database (no legacy) in the same application.

I need to query in the informix database and manipulate data to save in  
mysql.

It is posible?? it it is, how? any guide? tutorial? link?

I’ll appreciate any help.

best regards.

Mary

---

<div class="post-metadata">

**Author:** ![malooking](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/77aa72/32.png) [@malooking](https://www.ruby-forum.com/u/malooking)\
**Post date:** [November 7, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/who-knows-if-i-can-have-2-databases-in-my-app/119311/2 "2007-11-07T17:47:11Z")

</div>

Mary Nu wrote:

> Please, i need help.
> 
> i wonder if rail allows to have 1 legacy database in informix and other  
> mysql database (no legacy) in the same application.
> 
> I need to query in the informix database and manipulate data to save in  
> mysql.
> 
> It is posible?? it it is, how? any guide? tutorial? link?
> 
> I’ll appreciate any help.
> 
> best regards.
> 
> Mary

Not tried it myself but there does appear to be a fair bit of  
documentation - eg  
[http://wiki.rubyonrails.org/rails/pages/HowtoUseMultipleDatabases](http://wiki.rubyonrails.org/rails/pages/HowtoUseMultipleDatabases)

(top of the list for a google search on “rails multiple databases”)

Also, someone’s kindly done a rails-informix adapter for you 🙂  
[http://rubyforge.org/projects/rails-informix/](http://rubyforge.org/projects/rails-informix/)
