Sep 8, 2017

How to connect to remote MySQL server by SSH tunnel

ssh -L  3306: [email protected]
-L [bind_address:]port:host:hostport
             Specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side.

Then you can access MySQL server remotely:
mysql  -h

See also:
Post a Comment

Featured Post

Trading volumes of most major cryptocurrencies across leading exchanges remain low overall

Bitcoin's daily trading volume has been relatively low