converting mysql db into sqlite3.

G

gordyt

You could probably use the mysqldump command with the proper options to
export the contents of your mysql database to an ASCII text file that
contains the SQL insert statements. Then you could import that
information to a sqlite database file. You may have to massage the
export file if it contains syntax that is not supported by sqlite.

Documentation for the mysqldump command is here:

http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html

The SQL syntax supported by sqlite is here:

http://www.sqlite.org/lang.html

--gordy
 
S

skip

gordy> You could probably use the mysqldump command with the proper
gordy> options to export the contents of your mysql database to an ASCII
gordy> text file that contains the SQL insert statements.

Not sure where the original post is. All I see is this reply.
In case the OP is listening, I believe you can do this in a fairly
straightforward manner with SQLAlchemy.

Skip
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top