0

I have PostgreSQL 10.9 and Ubuntu localhost installed on my machine. I downloaded pgAdmin III on my machine for the first time.

I tried filling in the following based on a suggestion.

enter image description here


I get the following error:

enter image description here

Below is my config file:

enter image description here

rgettman
  • 176,041
  • 30
  • 275
  • 357
PineNuts0
  • 4,740
  • 21
  • 67
  • 112

1 Answers1

1

You can try a basic connection filling these fields:

Name: a name of your connection (whatever in your mind) Host: 127.0.0.1 Port: by default is 5432 Username: postgres Password: password that you set during the initialization process

EDITED:

To solve the error in pg_hba.conf you need to add the following line in this file to allow users to connect via TCP using md5 encrypted passwords:

host all all 127.0.0.1 md5

This change requires a pg_reload_conf() signal. Use your terminal to access from psql command line: psql -U postgres

and execute the following sentence: SELECT pg_reload_conf();

If you can't access from psql, try to restart the service of PostgreSQL.

Try again from pgAdmin.