mysql-to-sqlite3

Transfer data from MySQL to SQLite databases

brewmacoslinux
Try with needOr install directly
Source

About

Transfer data from MySQL to SQLite

Commands

mysql2sqlite

Examples

Convert entire MySQL database to SQLite$ mysql2sqlite -h localhost -u root -p password dbname > output.db
Transfer specific tables from MySQL to SQLite$ mysql2sqlite -h localhost -u root -p password -t table1,table2 dbname > output.db
Convert MySQL database with custom host and port$ mysql2sqlite -h 192.168.1.100 -P 3307 -u user -p pass mydb > converted.db