From: | Richard Broersma Jr <rabroersma(at)yahoo(dot)com> |
---|---|
To: | Ramon Orticio <rporticio(at)yahoo(dot)com>, pgsql-novice(at)postgresql(dot)org |
Subject: | Re: ident authentication failed for user postgres. |
Date: | 2006-08-10 05:04:42 |
Message-ID: | 20060810050442.37821.qmail@web31802.mail.mud.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
> i tried to edit the pg_hba.conf file and added host
> all all 192.168.9.0.0/24 md5 under IPv4
> local connections as suggested in the message in
> pgadminIII, but still it did not connect.
There might be two possible problems.
1. I believe that when you change your pg_hba.conf you need to restart the server for the changes
to take effect.
2. When you specify md5 authentication, both the user and the password must exist. So in this
case, if you try to log in as postgres but have not specified a Postgresql password for postgres,
you will be denied access.
Notice:
http://www.postgresql.org/docs/8.1/interactive/auth-methods.html#AUTH-PASSWORD
http://www.postgresql.org/docs/8.1/interactive/sql-alteruser.html
so...
psql> ALTER USER postgres PASSWORD 'your_new_password'
will allow you to authenticate your password using MD5.
Regards,
Richard Broersma Jr.
From | Date | Subject | |
---|---|---|---|
Next Message | Brendon Gleeson | 2006-08-10 07:32:11 | Re: query help |
Previous Message | Ramon Orticio | 2006-08-10 02:12:55 | ident authentication failed for user postgres. |