Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.