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-30 23:05:46
Message-ID: 668514.21038.qm@web43409.mail.sp1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I am fairly sure my pg_hba file is correct. Here is what I have under IP4 connections:

# IPv4 local connections:
host all all 127.0.0.1/32 md5
host all all 10.0.0.0/8 md5

Is anything else required to access the database from a different machine running pgAdmin3?

________________________________
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
Sent: Saturday, March 28, 2009 10:58:37 PM
Subject: Re: Logging in with postgres remotely

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 Tena Sakai 2009-03-31 00:43:32 Re: Logging in with postgres remotely
Previous Message Félix Sánchez Rodríguez 2009-03-30 22:01:09 Data type to store files