Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Library to read a MySQL dump? [closed]

I am looking for a library that will allow me to read a mysql dump.

I don't want to have to create a MySQL database and import the library and use the MySQL API. I would prefer simply a library that can parse the mysql dump format.

I prefer a python library, but other scripting languages are okay.

like image 730
Joseph Turian Avatar asked Oct 14 '09 20:10

Joseph Turian


1 Answers

Import into MySQL and dump using --xml seems to be the best option.

I wrote up the reasoning in this blog post: Use flag –xml when you run mysqldump

like image 98
Joseph Turian Avatar answered Sep 18 '22 13:09

Joseph Turian