使用密码将 PostgreSQL 数据库连接到 pgAdmin

Connect PostgreSQL database with password to pgAdmin

我正在尝试将 PostgreSQL 数据库连接到 pgAdmin。

我掌握的关于数据库的唯一信息是:

在 pgAdmin 上我这样做:

1) 点击Add new server

2) 按照图片填写信息

3) 按save

但是 我得到:

Unable to connect to server:

could not translate host name "postgres://candidate.company.org/company" to address: nodename nor servname provided, or not known

好像有人给了你 JDBC url。主机名只是 candidate.company.org。数据库是公司。