Skip to content

Instantly share code, notes, and snippets.

@btedev
Created February 19, 2012 17:59
Show Gist options
  • Save btedev/1864866 to your computer and use it in GitHub Desktop.
Save btedev/1864866 to your computer and use it in GitHub Desktop.
Disable the MySQL binary log while restoring data from mysqldump
# 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