Last active
December 18, 2015 11:59
-
-
Save tony4d/5779546 to your computer and use it in GitHub Desktop.
Simple mysqldump to sync up a dev env
This file contains 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 [user_name] -p -Qce --max-allowed-packet=1024M -B [database_name] > database_name.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated for complete and extended inserts, better for big loads and sql files are smaller.