Extract single databases from a larger SQL dump
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
sql-dump-extractor.py

README.md

The script takes in the file path of a MySQL dump and lists each database it finds. Enter the number in the list of the database and it'll be extracted to a new file in the current working dirctory.

Usage:

$ chmod +x sql-dump-extractor.py
$ ./sql-dump-extractor.py /path/to/sql_dump_file