Created
February 19, 2012 17:59
-
-
Save btedev/1864866 to your computer and use it in GitHub Desktop.
Disable the MySQL binary log while restoring data from mysqldump
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
# Disable the MySQL binary log while restoring data from mysqldump | |
(echo "set session sql_log_bin=0;"; cat some_dump.sql) | mysql ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment