Library to read a MySQL dump? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this questionI 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.
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
I came across sqldump.py while looking for something similar - might be of use...
精彩评论