Importing .sql file into SQLite
That file is a MySQL dump.To make SQLite understand it, you have to:
- delete
COMMENT
s on the table fields; - remove
AUTO_INCREMENT
fromid
(INTEGER PRIMARY KEY
fields are autoincrementing in SQLite anyway); - remove
ENGINE
andDEFAULT CHARSET
; - remove
LOCK
/UNLOCK
commands; - make the
INSERT
commands have fewer records; - replace
\'
quoting with''
.