MySQL to SQLite Converter

I have two tables

regions(id, name)
countries(id, name, region_id)

which is in MySQL format, and I want to convert it to a SQLite database. I tried several programs, but I can not convert it.

Is there any simple wat to convert them, given its fairly simple tables.

I looked at the following links

http://www.sqlite.org/cvstrac/wiki?p=ConverterTools

http://dbconvert.com/convert-sqlite-to-mysql-pro.php

Either the software is paid, or I cannot get them to work.

+5
source share
2 answers

See this gist . It runs on Linux.

+2
source

All Articles