Created
February 1, 2016 09:23
-
-
Save valkirilov/af078e44664153b7437f to your computer and use it in GitHub Desktop.
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
ssh -L 3307:localhost:3306 [test.com] | |
mysql -h 127.0.0.1 -P 3307 -u [user] -p | |
mysqldump -h 127.0.0.1 -P 3307 -u [user] -p [db_name] > [db_name.sql] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment