mysqldumpfind

1.7.78 • Public • Published

README

Description

Search into a sql dump file (*.sql) to extract an insert statement based on the table and a regexp. You can also specify a gz file.

Install

Go into a node project and type the following :

$> npm install -g mysqldumpfind

Usage

mysqldumpfind <file> <table> <regexp>

Exemple

extract id "55200" from table "user" in file "exemple.sql"

$ mysqldumpfind exemple.sql user 55200
(55200,'admin','rafi.piccolo@gmail.com','raphael','piccolo')

Readme

Keywords

none

Package Sidebar

Install

npm i mysqldumpfind

Weekly Downloads

15

Version

1.7.78

License

ISC

Unpacked Size

7.54 kB

Total Files

7

Last publish

Collaborators

  • rafi.piccolo