Created
December 17, 2014 11:02
-
-
Save AlexanderRD/3266874f18b37c72529d to your computer and use it in GitHub Desktop.
Basic mysqldump import/export examples
This file contains hidden or 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
To export: | |
mysqldump -u mysql_user -p DATABASE_NAME > backup.sql | |
To import: | |
mysql -u mysql_user -p DATABASE < backup.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment