pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Flavio Henrique Araque Gurgel <flavio@4linux.com.br>
To: Newbie Poster <newbie.poster@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Logging in with postgres remotely
Date: Sun, 29 Mar 2009 02:58:37 -0300 (BRT)
Message-ID: <32212646.293281238306317487.JavaMail.root@mail.4linux.com.br> (raw)
In-Reply-To: <213541.11913.qm@web43403.mail.sp1.yahoo.com>

Hi Newbie 

----- "Newbie Poster" <newbie.poster@yahoo.com> escreveu: 


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? 

Have you checked your pg_hba.conf file in your PostgreSQL server (if you have access to it)? 
Maybe it's not allowed to connect remotely as a regular user but postgres. 

Best regards 
Flavio 

view thread (5+ messages)  latest in thread

Message-ID: <32212646.293281238306317487.JavaMail.root@mail.4linux.com.br>
Permalink:  ../32212646.293281238306317487.JavaMail.root@mail.4linux.com.br/
Also on:    postgresql.org/message-id/32212646.293281238306317487.JavaMail.root@mail.4linux.com.br

 · 

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: flavio@4linux.com.br, newbie.poster@yahoo.com
  Subject: Re: Logging in with postgres remotely
  In-Reply-To: <32212646.293281238306317487.JavaMail.root@mail.4linux.com.br>

* 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