我刚刚设置了一个Amazon RDS实例.我有一个单独的应用程序服务器,我试图找出如何从我的EC2应用程序服务器连接到RDS实例.在Instance页面上,我有
原文链接:https://www.f2er.com/postgresql/191976.htmlenbdpoint: mycompany.czdv3mj7ps25.us-west-2.rds.amazonaws.com:5432
$psql -h mycompany.czdv3mj7ps25.us-west-2.rds.amazonaws.com:5432 -U myuser -d mydb psql: could not translate host name "mycompany.czdv3mj7ps25.us-west-2.rds.amazonaws.com:5432" to address: Name or service not known
如何连接到实例数据库?我没有在RDS控制台中看到任何其他IP地址.