-
-
Save antonydevanchi/c32c2f4fe3ee0b85dbac01030be8d508 to your computer and use it in GitHub Desktop.
mysqldump
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
#!/bin/sh | |
# | |
# @link https://gist.github.com/lavoiesl/11022667 | |
mysqldump $@ \ | |
--set-gtid-purged=OFF \ | |
--skip-comments \ | |
--hex-blob \ | |
--create-options \ | |
--disable-keys \ | |
--add-drop-table \ | |
--add-drop-trigger \ | |
--comments \ | |
--dump-date \ | |
--quote-names \ | |
--events \ | |
--routines \ | |
--triggers \ | |
--extended-insert \ | |
--add-locks \ | |
--single-transaction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment