Re: Connection problems with "psql -h localhost <dbName> postgres"

From: Ennio-Sr <nasr(dot)laili(at)tin(dot)it>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Connection problems with "psql -h localhost <dbName> postgres"
Date: 2005-05-02 16:09:28
Message-ID: 20050502160928.GA15946@deby.ei.hnet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

* Wayne Pierce <shalofin(at)gmail(dot)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) ]

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Havasvölgyi Ottó 2005-05-02 16:19:44 Re: how to make collation work
Previous Message Tom Lane 2005-05-02 15:17:24 Re: Connection problems with "psql -h localhost <dbName> postgres"