I have a problem with my Pgadmin3.. I used to use the last year, but this year I can't connect with the localhost server with pgadmin
This is the message error:
FATAL: no pg_hba.conf entry for host "127.0.0.1", user "postgres", database "postgres", SSL on
FATAL: no pg_hba.conf entry for host "127.0.0.1", user "postgres", database "postgres", SSL off
My pg_hba.conf
file have this content:
TYPE DATABASE USER ADDRESS METHOD
local all all trust
I can connect without problems with psql. My user is postgres and my pass is postgres too.
I have information in the database, i don't have idea what's happen.
My OS is Linux Lubuntu 14.04
Best Answer
Look at the first column
TYPE
, from the docsYour type is
local
, but your error message indicates you're trying to connect to127.0.0.1
which is an IP address. You either need to connect using unix sockets without an ip-address (no-h
in psql) or change thetype
tohost
.From the docs on PgAdminIII