Created
January 13, 2014 05:28
-
-
Save birchestx/8395182 to your computer and use it in GitHub Desktop.
From http://stackoverflow.com/questions/9497869/export-and-import-all-the-database-from-mysql-at-a-time
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
mysqldump -uroot -p --all-databases > alldb.sql | |
mysql -u root -p < alldb.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment