Skip to content

Instantly share code, notes, and snippets.

@chiragparekh
Created September 19, 2016 15:25
Show Gist options
  • Save chiragparekh/21c1345edd8ed2c58964c5a5aa6cd6ec to your computer and use it in GitHub Desktop.
Save chiragparekh/21c1345edd8ed2c58964c5a5aa6cd6ec to your computer and use it in GitHub Desktop.
HeidiSQL SSH Tunnel
NOTE : Following procedure are for windows user.
* Tools needed
- HeidiSQL
- Putty
Steps:
1) Create a new session in session manager and give appropriate name to it
2) In settings tab make changes following:
* Network type: MySQL (SSH tunnel)
* Hostname/IP: 127.0.0.1
* User: <REMOTE_DB_NAME>
* Password: <REMOTE_DB_PASSWORD>
* Port: 3306
3) In SSH Tunnel tab make following changes:
* plink.exe location: <SELECT PUTTY.EXE LOCATION>
* SSH Host + Port: <IP_ADDRESS_SSH_SERVER> + <22>
* Username: <SSH Username>
* Password: <SSH Password>
* plink.exe timeout: 8
* Local Port: 2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment