Created
July 26, 2013 19:51
-
-
Save seabre/6091748 to your computer and use it in GitHub Desktop.
Transfer local MySQL db to remote host
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 -u localuname -plocalpwd localdbname | mysql -u remoteuname -premotepwd --host=remotehost -C remotedbname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment