mysql2sqlite icon indicating copy to clipboard operation
mysql2sqlite copied to clipboard

unrecognized token: "`);

Open torian257x opened this issue 3 years ago • 2 comments

./mysql2sqlite mydump.sql | sqlite3 maindb.sqlite
memory
Error: near line 1308: unrecognized token: "`);
END TRANSACTION;"

is probably an sqlite3 problem? or I did mysqldump "wrong" ?

torian257x avatar Dec 13 '21 14:12 torian257x

Did you follow the "Usage" section from readme? mysql2sqlite depends on specifically formatted dump, so it's mandatory to use certain options.

dumblob avatar Dec 13 '21 20:12 dumblob

If you did, then please provide the problematic part of the dump (ideally with some context - e.g. previous 40 lines and next 40 lines).

Thanks!

dumblob avatar Dec 13 '21 20:12 dumblob