...
- MySQL 서버 정보를 세션에 추가한다.
- 좌측의 Connection -> SSH -> Tunnels 를 클릭한다.
화면에서 Source Port(4406)와 Destination(localhost:3306)을 입력하고 Add 를 클릭한다.
Note 위 설정은 localhost 의 4406 포트에 연결하면 putty 가 연결된 remote 의 3306 포트에 포워딩하겠다는 의미이다.
- putty 에서 mysql.example.com 으로 ssh 포트로 연결한다.
MySQL client 에서 다음 설정으로 연결해서 정상 동작 여부를 확인한다.
Code Block mysql -u user -pPasswd -P4406