Re: ~/pgpass

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Oluwatope Akinniyi <tope(dot)akinniyi(at)shepherdhill(dot)biz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ~/pgpass
Date: 2005-08-16 16:27:53
Message-ID: 20050816162753.GC32695@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Aug 16, 2005 at 04:54:15PM +0100, Oluwatope Akinniyi wrote:

> On Fedora as:
> 192.168.0.253:5432:hms:sysdba:xxxxx
> where hms is the database and sysdba the username;
>
> I have a the ~/.pgpass inside the home of user tope (i.e. /home/tope).
> I tried with
>
> $ psql

I wonder if you should be using

127.0.0.1:5432:hms:sysdba:xxxxx

instead ...

Or rather, change your psql line to be

$ psql -h 192.168.0.253

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"At least to kernel hackers, who really are human, despite occasional
rumors to the contrary" (LWN.net)

In response to

  • Re: ~/pgpass at 2005-08-16 15:54:15 from Oluwatope Akinniyi

Browse pgsql-general by date

  From Date Subject
Next Message marcelo Cortez 2005-08-16 16:40:39 lock problem
Previous Message Stephan Szabo 2005-08-16 16:17:20 Re: [GENERAL] Cascades Failing