tags:

views:

211

answers:

1

I have installed PostgreSQL and pgAdminIII on my Ubuntu Karmic box.

I am able to use pgAdminIII successfully (i.e. connect/log on), however when I try to login to the server using the same username/pwd on the command line (using psql), I get the error:

psql: FATAL: Ident authentication failed for user "postgres"

Does anyone now how to resolve this issue?

+1  A: 

Did you set the proper settings in pg_hba.conf?

See https://help.ubuntu.com/10.04/serverguide/C/postgresql.html how to do it.

Frank Heikens