Skip to content

Instantly share code, notes, and snippets.

@drawcode
Created January 21, 2013 20:20
Show Gist options
  • Select an option

  • Save drawcode/4588955 to your computer and use it in GitHub Desktop.

Select an option

Save drawcode/4588955 to your computer and use it in GitHub Desktop.
Dump mysql db at command
mysqldump --add-drop-table -h localhost -u username -p dbname > dbname.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment