Re: Logging in with postgres remotely - Mailing list pgsql-admin

From Newbie Poster
Subject Re: Logging in with postgres remotely
Date
Msg-id 213541.11913.qm@web43403.mail.sp1.yahoo.com
Whole thread Raw
In response to Logging in with postgres remotely  (Newbie Poster <newbie.poster@yahoo.com>)
Responses Re: Logging in with postgres remotely  (Flavio Henrique Araque Gurgel <flavio@4linux.com.br>)
List pgsql-admin
Thanks for the response. I was able to get postgres user to connect to the remote database by using the 'alter user' command from within psql.  However, I am unable to connect to the same server with a different user.  I created a generic user called pgAdmin and used the command:

grant all privileges on database clients to user pgAdmin

I am certain I know that users password yet I cannot connect with it from my workstation. Do you think the pgpass file will help in this instance?


From: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
To: Newbie Poster <newbie.poster@yahoo.com>
Sent: Friday, March 27, 2009 4:14:05 PM
Subject: Re: [ADMIN] Logging in with postgres remotely

Newbie Poster wrote:

>  Error connecting to the server: FATAL:  password authentication failed
> for user "postgres"

Sounds like a hunt for the pgpass file is recommended:

http://www.postgresql.org/docs/8.3/interactive/libpq-pgpass.html

Peter

pgsql-admin by date:

Previous
From: Newbie Poster
Date:
Subject: Logging in with postgres remotely
Next
From: Flavio Henrique Araque Gurgel
Date:
Subject: Re: Logging in with postgres remotely