问题
I want to convert .sql
file to .sqlite
. i got the script from here link
I am trying to execute script like this
./mysql2sqlite country.sql | sqlite3 mysqlite3.db
but getting error like this
bash: ./mysql2sqlite: No such file or directory
when I tried like this
sh mysql2sqlite country.sql | sqlite3 mysqlite3.db
I am getting error as
sh: 0: Can't open mysql2sqlite
I am not getting script is wrong or the way i am doing is wrong ? is there any way i can do it.
来源:https://stackoverflow.com/questions/53408196/sh-0-cant-open-mysql2sqlite