|
|
|
@ -42,6 +42,8 @@ $ ssh -L [local port]:[database host]:[remote port] [username]@[remote host]
|
|
|
|
|
|
|
|
|
|
|
|
// example
|
|
|
|
// example
|
|
|
|
$ ssh -L 3306:rr-zf81fzm6ija52q623.mysql.kualalumpur.rds.aliyuncs.com:3306 tenghieyik@172.22.4.252
|
|
|
|
$ ssh -L 3306:rr-zf81fzm6ija52q623.mysql.kualalumpur.rds.aliyuncs.com:3306 tenghieyik@172.22.4.252
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ ssh -L host.docker.internal:3306:rr-zf81fzm6ija52q623.mysql.kualalumpur.rds.aliyuncs.com:3306 tenghieyik@172.22.4.252
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
* dump
|
|
|
|
* dump
|
|
|
|
|