SSH Tunnel用起來超方便的~
若現在想要使用 Windows "MySQL Center control" 來管理遠端 MySQL.
設定如下:
- MySQL Center control 設 3309 port
- Open putty
- Choose Tunnels
- Forwarded ports -> 打(3309 desc: localhost:3306) L3309 localhost:3306(本機 3306 port 連到 3309 port)
- Auth -> Allow agent forwaring
之後使用 "MySQL Center control" 前, 打開 putty 連結就可控管遠端 DB.
