Read Sqlite files from a Rails/MySQL app

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

On 15 March 2013 12:14, Mattia nil [email protected] 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs