Forum: Ruby on Rails Read Sqlite files from a Rails/MySQL app

Posted by Mattia nil (michx)
on 2013-03-15 13:14
Hi guys,
I'd Like to read an Sqlite file from my Rails with MySQL application. Is
there any gem/library that will help me?

I want to transfer the content of an SQLite3 database (coming from an
old website), into my new Rails database.

Thanks
Posted by Colin Law (Guest)
on 2013-03-15 13:21
(Received via mailing list)
On 15 March 2013 12:14, Mattia nil <lists@ruby-forum.com> wrote:
> Hi guys,
> I'd Like to read an Sqlite file from my Rails with MySQL application. Is
> there any gem/library that will help me?
>
> I want to transfer the content of an SQLite3 database (coming from an
> old website), into my new Rails database.

You have asked for two different things.  The first is to read an
sqlite file from within your rails app which already uses mysql, the
second is to transfer data from an sqlite file into a mysql one.

If it is the first then google for
rails multiple database
to see how to do it.

If the second then google for
convert sqlite mysql
should help

Colin
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.