1
votes

I am trying to connect a PostgreSQL database to pgAdmin.

The only information I have about the database are:

  • postgres://candidate.company.org/company
  • Username: banana
  • Password: aaabbbccc

On pgAdmin I do:

1) Click on Add new server

2) Fill the info as in photo o

3) Press save

BUT I get:

Unable to connect to server:

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

1
try to provide candiate.company.org alone in host name.Sujay Mohan

1 Answers

1
votes

It looks like someone gave you a JDBC url. The hostname is just candidate.company.org. The database is company.