pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Newbie Poster <newbie.poster@yahoo.com>
To: PGSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: Logging in with postgres remotely
Date: Fri, 27 Mar 2009 16:33:19 -0700 (PDT)
Message-ID: <213541.11913.qm@web43403.mail.sp1.yahoo.com> (raw)
In-Reply-To: <49CD5DBD.2080908@gmx.de>
References: <218848.40985.qm@web43403.mail.sp1.yahoo.com>
	<49CD5DBD.2080908@gmx.de>

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



      

view thread (5+ messages)  latest in thread

Message-ID: <213541.11913.qm@web43403.mail.sp1.yahoo.com>
Permalink:  ../213541.11913.qm@web43403.mail.sp1.yahoo.com/
Also on:    postgresql.org/message-id/213541.11913.qm@web43403.mail.sp1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: newbie.poster@yahoo.com
  Subject: Re: Logging in with postgres remotely
  In-Reply-To: <213541.11913.qm@web43403.mail.sp1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox