Re: [GENERAL] psql only works with -h (even localhost) - Mailing list pgsql-general

From Adrian Klaver
Subject Re: [GENERAL] psql only works with -h (even localhost)
Date
Msg-id 5053c558-8673-ad23-e482-9e6febb11dc4@aklaver.com
Whole thread Raw
In response to [GENERAL] psql only works with -h (even localhost)  (ProPAAS DBA <dba@propaas.com>)
Responses Re: [GENERAL] psql only works with -h (even localhost)
Re: [GENERAL] psql only works with -h (even localhost)
List 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.klaver@aklaver.com


pgsql-general by date:

Previous
From: ProPAAS DBA
Date:
Subject: [GENERAL] psql only works with -h (even localhost)
Next
From: Steve Crawford
Date:
Subject: Re: [GENERAL] psql only works with -h (even localhost)