Place the downloaded file anywhere on your hard-drive you wish.
Type: plink.exe -L 3307:localhost:3306 [USERNAME]@[YOURSERVER.COM]
Say “yes”, of course. Where does it put this key? That was a mystery to me too!
It turns out, when you say yes, Plink will put the key into your Windows Registry (at HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys). Type your password, and then type “exit” to finish up this step.
Inside the “Settings” tab, use “127.0.0.1″ for the hostname.
Then, enter your normal database username and password.
Yep, 127.0.0.1 is correct.
You enter the address as if you were logged-in to the server via SSH.