Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Scenario: A - Local Unix machine B - socks proxy server port 1080 C - remote mysql server port 3306

I want to connect to the remote mysql server(C) from local unix machine(A) using sock proxy(B). Please could anyone help me to do this.

share|improve this question

Use putty from the local machine, conncet with ssh to your server, set up a SSH tunnel to port forward localhost:3306 then connect the mysql client on your local machine to localhost:9999

Putty setup: SSH-Tunnels -> Local -> Source port: 9999 ->Destination: localhost:3306

share|improve this answer
    
Unfortunately this answer uses port forwarding instead of a SOCKS proxy :-( – Mauricio Scheffer Aug 17 '15 at 8:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .