Created
April 24, 2012 19:56
-
-
Save fideloper/2483137 to your computer and use it in GitHub Desktop.
One database to another in one CLI call
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 -u USER -pPASS DB_NAME | mysql -u USER -pPASS NEW_DB_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment