$ curl -v telnet://niikawa-database-1-instance-1.xxxxxxxxxxxx.ap-northeast-1.rds.amazonaws.com:3306
* About to connect() to niikawa-database-1-instance-1.xxxxxxxxxxxx.ap-northeast-1.rds.amazonaws.com port 3306 (#0)
* Trying 10.10.3.74...
* Connected to niikawa-database-1-instance-1.xxxxxxxxxxxx.ap-northeast-1.rds.amazonaws.com (10.10.3.74) port 3306 (#0)
J
←ここでEnter押下
* Closing connection 0
5.6.10=}~#,UJP清Y?o4Qz7@x_Qmysql_native_password
以下、失敗時のログです。
$ curl -v telnet://niikawa-database-1-instance-1.xxxxxxxxxxxx.ap-northeast-1.rds.amazonaws.com:3306
* About to connect() to niikawa-database-1-instance-1.xxxxxxxxxxxx.ap-northeast-1.rds.amazonaws.com port 3306 (#0)
* Trying 10.10.3.74...
* Connection timed out
* Failed connect to niikawa-database-1-instance-1.xxxxxxxxxxxx.ap-northeast-1.rds.amazonaws.com:3306; Connection timed out
* Closing connection 0
curl: (7) Failed connect to niikawa-database-1-instance-1.xxxxxxxxxxxx.ap-northeast-1.rds.amazonaws.com:3306; Connection timed out