[英]Troubleshoot connecting to free trial postgres on AWS RDS
This is a temporary database, so I don't mind sharing credentials.这是一个临时数据库,所以我不介意共享凭据。 We have setup the following in RDS:
我们在 RDS 中设置了以下内容:
Host and Port and confirming public access主机和端口并确认公共访问
DB Name数据库名称
Not shown is the username and password, however I am 100% certain that we are inputting the correct username and password into PgAdmin 4 and into python's psycopg2.connect
function.没有显示用户名和密码,但是我 100% 确定我们正在将正确的用户名和密码输入到 PgAdmin 4 和 python 的
psycopg2.connect
函数中。
Failing connection in PgAdmin 4 PgAdmin 4 中的连接失败
However, we are failing to connect in both PgAdmin 4 and in python.但是,我们在 PgAdmin 4 和 python 中都无法连接。 The database is definitely public, and I am fairly certain that we are inputting the correct parameters.
数据库绝对是公开的,我相当确定我们输入的参数是正确的。 I believe dbname is
testdb
and not the instance ID etl-test
我相信dbname是
testdb
而不是实例 ID etl-test
What could be the issue?可能是什么问题? The one thing I am not certain about are the VPCs and the VPC security groups... do we need to input these anywhere into python or PgAdmin4 in order to connect?
我不确定的一件事是 VPC 和 VPC 安全组……我们是否需要在任何地方将这些输入到 python 或 PgAdmin4 中才能连接?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.