Skip to content

Instantly share code, notes, and snippets.

@likerRr
Created April 16, 2015 21:53
Show Gist options
  • Save likerRr/e00cc44f287a259c8fc4 to your computer and use it in GitHub Desktop.
Save likerRr/e00cc44f287a259c8fc4 to your computer and use it in GitHub Desktop.
How to connect to HediSQL via ssh
proof: http://www.heidisql.com/forum.php?t=167
---------------------------------------------------------------------------------------------
I just tried to connect to my MySQL using putty.. It works great...
First download Putty (google on putty) then create a new connection.
Go to "Connection -> SSH -> Tunnels" in the left part of the screen and input the following:
Source port: 3306
Destination: localhost:3306
(The radiobuttons stay on "local" and "auto")
Then press the "Add" button.
Next open the connection and log in to the SSH-session.
Start up HeidiSQL and on the connection tab input the following:
Hostname/ip: localhost
enter user and password fields
port: 3306
then click save+connect and you're done.
P.S.
if you've changed the server port MySQL listens on change the 3306 in this text to your value. Normally though port 3306 is used.
Good luck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment