Re: Connection problems with "psql -h localhost postgres" - Mailing list pgsql-novice

From Ennio-Sr
Subject Re: Connection problems with "psql -h localhost postgres"
Date
Msg-id 20050502160928.GA15946@deby.ei.hnet
Whole thread Raw
In response to Connection problems with "psql -h localhost postgres"  (Wayne Pierce <shalofin@gmail.com>)
List pgsql-novice
* Wayne Pierce <shalofin@gmail.com> [020505, 09:03]:
> I have PostgreSQL setup and everything is working fine when I use
> "psql -d <dbName>" on the command line or when I use mod_python to
> connect.  However I when I use "psql -h localhost <dbName> postgres" I
> get the following error:
> [...]

Hi Wayne,
I had a similar problem a few days ago; maybe it's related to the
difference between *unix_socket* and *tcpip_socket*
Try to skip the "-h localhost" from that command: it should work ...
Regards,
    Ennio

--
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo.   \\?//
 Fa' qualche cosa di cui non sei capace!"  (diceva Henry Miller) ]    (°|°)
[Why use Win$ozz (I say) if ... "even a fool can do that.              )=(
 Do something you aren't good at!" (as Henry Miller used to say) ]

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Connection problems with "psql -h localhost postgres"
Next
From: Havasvölgyi Ottó
Date:
Subject: Re: how to make collation work