Created
October 29, 2014 00:21
-
-
Save fabiomaggio/c2d739b027183238f9b9 to your computer and use it in GitHub Desktop.
Setup SSH tunnel for MySQL connection in HeidiSQL
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
1. Create SSH tunnel with following command: ssh -L 3307:localhost:3306 user@host | |
2. Use the following settings in HeidiSQL: | |
- Hostname: localhost | |
- User: mysqluser | |
- Password: mysqluser password | |
- Port: 3307 | |
Another method is described here: http://www.mattmuller.info/2011/04/remote-mysql-with-heidisql-and-plink/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment