Skip to content

Instantly share code, notes, and snippets.

@ethangardner
Created August 24, 2011 21:08
Show Gist options
  • Save ethangardner/1169249 to your computer and use it in GitHub Desktop.
Save ethangardner/1169249 to your computer and use it in GitHub Desktop.
Backup MySQL database
mysqldump --add-drop-table -u db_username -p db_name > mybackup.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment