Connect to remote MySQL using proxy
Posted
by hypeflow
on Server Fault
See other posts from Server Fault
or by hypeflow
Published on 2010-04-28T21:17:59Z
Indexed on
2010/04/28
21:18 UTC
Read the original article
Hit count: 266
I'm trying to connect to a remote MySQL server (with TCP access limited to a specific IP) using port forwarding via SSH, but still haven't figured out how to do it.
Here's what I intend to do:
Local[A] ---> Proxy[B] ---> Remote MySQL[C]
[A] Local machine with Windows
[B] CentOS machine with IP 123.123.123.1 (with it's own MySQL running, btw)
[C] Remote MySQL server with IP 123.123.123.1 authorized on port 3306
How to achieve this?
Thanks in advance.
© Server Fault or respective owner