Changes for version 0.006 - 2017-06-15

  • [Incompatible change] Rename script: mysql-split-sql-dump-per-table to mysql-sql-dump-extract-tables.
  • mysql-sql-dump-extract-tables: Fix/tweak regex pattern to detect start of table, add options --{include,exclude}-{table,table-pattern}.
  • mysql-run-sql-files: Add option --overwrite-when (with shortcuts -o, -O).

Documentation

Drop all tables in a MySQL database
Drop tables in a MySQL database
Run query and return table result
Feed each .sql file to `mysql` command and write result to .txt file
Parse SQL dump and spit out tables to separate files

Modules

CLI utilities related to MySQL