想要使用 pgAdmin 连接到 PostgreSQL 但无法从字符串中找出凭据

Want to Connect to PostgreSQL with pgAdmin but not able to figure out credentials from the String

也许是个愚蠢的问题,我从我的大学收到了以下字符串,我已经安装了 PG 管理员,我需要提供用户名密码、数据库名称和端口等凭据。

postgresql://aaaaaaaaa:bbbbbbbb@cccccc-development.ddddddd.us-east-1.rds.amazonaws.com:5432/eeeeeeeeeeeeee

我想知道这里的凭据是什么,例如连接到 PostgreSQL 的用户名和密码。

别担心,这是连接字符串的细分。

连接字符串: postgresql://aaaaaaaaa:bbbbbbbb@cccccc-development.ddddddd.us-east-1.rds.amazonaws.com:5432/eeeeeeeeeeeeee

上面的Sring可以分解为:

  • 主持人:cccccc-development.ddddddd.us-east-1.rds.amazonaws.com
  • 端口:5432
  • 数据库名称: eeeeeeeeeeeeeeee
  • 用户名: aaaaaaaaa
  • 密码: bbbbbbbb