Skip to content

Instantly share code, notes, and snippets.

@seabre
Created July 26, 2013 19:51
Show Gist options
  • Save seabre/6091748 to your computer and use it in GitHub Desktop.
Save seabre/6091748 to your computer and use it in GitHub Desktop.
Transfer local MySQL db to remote host
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