Re: psql only works with -h (even localhost)

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: ProPAAS DBA <dba(at)propaas(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql only works with -h (even localhost)
Date: 2017-01-25 16:07:31
Message-ID: 5053c558-8673-ad23-e482-9e6febb11dc4@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/25/2017 08:02 AM, ProPAAS DBA wrote:
> Hi all;
>
>
> we have a client server where 'psql -h localhost' is the only way psql
> will connect when ssh'd onto the db server. Would like to be able to
> just run psql but not sure what the issue/fix is. Anyone have any
> insight hot to fix this?

What is the error you get if you use something other then -h localhost?

What is in pg_hba.conf?

>
>
> Thanks in advance
>
>
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Crawford 2017-01-25 16:24:35 Re: psql only works with -h (even localhost)
Previous Message ProPAAS DBA 2017-01-25 16:02:02 psql only works with -h (even localhost)