Created
October 3, 2016 07:03
-
-
Save subhajeet2107/a4ecd09b39e2d3f85f6dd9684a79e96c to your computer and use it in GitHub Desktop.
Connect to remote mysql instance through localhost tunnel
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
#for windows install putty and plink and try this | |
plink.exe -L 3307:mysqlhost-or-localhost:3306 username@serverip -i keyfile.ppk | |
#for mac | |
ssh -L 3307:mysql-rds-host-or-localhost:3306 username@serverip -i keyfile.ppk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment