Skip to content

Instantly share code, notes, and snippets.

@iamajeesh
Created November 7, 2013 18:00
Show Gist options
  • Save iamajeesh/7359017 to your computer and use it in GitHub Desktop.
Save iamajeesh/7359017 to your computer and use it in GitHub Desktop.
Backup and Restore MySQL Database Using mysqldump
mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql
mysql -u root -p[root_password] [database_name] < dumpfilename.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment