Re: Logging in with postgres remotely

From: Newbie Poster <newbie(dot)poster(at)yahoo(dot)com>
To: PGSQL Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Logging in with postgres remotely
Date: 2009-03-27 23:33:19
Message-ID: 213541.11913.qm@web43403.mail.sp1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Seifert(at)gmx(dot)de>
To: Newbie Poster <newbie(dot)poster(at)yahoo(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Flavio Henrique Araque Gurgel 2009-03-29 05:58:37 Re: Logging in with postgres remotely
Previous Message Newbie Poster 2009-03-27 22:44:53 Logging in with postgres remotely