Take a sqlite3 sql-dump file and make it mysql readable.
Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead, 6 commits behind athlite:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.rdoc
sqlite3-to-mysql

README.rdoc

sqlite3-to-mysql

Simple sed script for attempting to convert Sqlite3 sql to MySql sql.

Usage:

sqlite3-to-mysql db/development.sqlite3 | mysql -u YOURUSERNAME -p YOURDATABASE

Notes

Please note that sed needs to be in your $PATH

Not guaranteed to work, but can serve as a starting point.

It worked for my case though.

Decided to make this after trying the yaml_db gem, which I found to be excruciatingly slow for any dataset of considerable size.