Last active
December 10, 2018 00:01
-
-
Save insytes/103154f7738afdd4b736e22f6476fbdd to your computer and use it in GitHub Desktop.
mysqldump with complete inserts including column definitions and a WHERE clause
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysqldump -u root -p database table --no-create-info --skip-extended-insert --complete-insert --where="active = 1" > dump.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment