Created
June 1, 2015 13:36
-
-
Save reiro/ffc179bb938b324824e3 to your computer and use it in GitHub Desktop.
Export and import mysql db
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
mysqldump db_name > backup-file.sql | |
mysql -u username -p database_name --force < file.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment