Re: Connection problems with "psql -h localhost postgres"

Поиск
Список
Период
Сортировка
От Ennio-Sr
Тема Re: Connection problems with "psql -h localhost postgres"
Дата
Msg-id 20050502160928.GA15946@deby.ei.hnet
обсуждение исходный текст
Ответ на Connection problems with "psql -h localhost postgres"  (Wayne Pierce <shalofin@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Connection problems with "psql -h localhost postgres"
Следующее
От: Havasvölgyi Ottó
Дата:
Сообщение: Re: how to make collation work