Re: Logging in with postgres remotely

From: Flavio Henrique Araque Gurgel <flavio(at)4linux(dot)com(dot)br>
To: Newbie Poster <newbie(dot)poster(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Logging in with postgres remotely
Date: 2009-03-29 05:58:37
Message-ID: 32212646.293281238306317487.JavaMail.root@mail.4linux.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Newbie

----- "Newbie Poster" <newbie(dot)poster(at)yahoo(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Manal Helal 2009-03-30 02:40:29 forgot the structure of a composite type
Previous Message Newbie Poster 2009-03-27 23:33:19 Re: Logging in with postgres remotely