Created
June 20, 2013 02:08
-
-
Save sicksand/5819799 to your computer and use it in GitHub Desktop.
how to clone/duplicate mysql database. using mysqldump one liner
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> --password=<password> <DATABASE_NAME> | mysql -u <user> --password=<password> -h <hostname> <DATABASE_NAME_NEW> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment