Re: password authentication failed for user "postgres" - Mailing list pgsql-novice

From Richard Broersma Jr
Subject Re: password authentication failed for user "postgres"
Date
Msg-id 20060814040954.27270.qmail@web31808.mail.mud.yahoo.com
Whole thread Raw
In response to password authentication failed for user "postgres"  (Ramon Orticio <rporticio@yahoo.com>)
Responses Re: password authentication failed for user "postgres"  (Ramon Orticio <rporticio@yahoo.com>)
List pgsql-novice
>  i'm using fedorca core 4 with the default postgres 8 default in it. i also installed pgadminIII
> versiion 1.4.3. i run postgres in the console with a password, initialized it with     initdb
> --pgdata=/var/lib/pgsql/data, created a database and was able to create and insert table and
> records respectively. i used sql command select * from table   and successfully retrieved the
> data. i also exited successfully.
>
>
>  however when i used the pgadminIII to connect to the server i am always comfronted with the
> password authentication problem although i am also using the same pasword similar to the one
> used in my console postgres entry.
>
>  what must be the problem and resolution here?  thank you for the kind attention given to this
> query.

There is a config file that you will need to take a look at.
pg_hba.conf  -- to configure how postgresql will authenticate client connections like the one from
pg admin 3.

http://www.postgresql.org/docs/8.1/interactive/client-authentication.html#AUTH-PG-HBA-CONF
http://www.postgresql.org/docs/8.1/interactive/client-authentication-problems.html

If you spend about 15-20 minutes reading the document you should be abot to correct the parameters
in this conf file to allow you to recieve connections from clients.

Also,  one the changes to the conf file are made, I believe that you will need to restart
postgresql.

Regards,

Richard Broersma Jr.


pgsql-novice by date:

Previous
From: Ramon Orticio
Date:
Subject: password authentication failed for user "postgres"
Next
From: Richard Broersma Jr
Date:
Subject: Re: executing a procedure withing a procedure?