Re: [despammed] Connection problems with "psql -h localhost postgres"

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: [despammed] Connection problems with "psql -h localhost postgres"
Дата
Msg-id 20050502133853.GN5962@webserv.wug-glas.de
обсуждение исходный текст
Ответ на Connection problems with "psql -h localhost postgres"  (Wayne Pierce <shalofin@gmail.com>)
Ответы Re: [despammed] Connection problems with "psql -h localhost postgres"  (Wayne Pierce <shalofin@gmail.com>)
Список pgsql-novice
am  02.05.2005, um  9:03:50 -0400 mailte Wayne Pierce folgendes:
> 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:
>
> psql: could not connect to server: Connection refused
>         Is the server running on host "localhost" and accepting
>         TCP/IP connections on port 5432?
>
> I have the following lines in my pg_ident.conf and pg_hba.conf files:

PG does not listen on TCP.

Set in /etc/postgresql/postgresql.conf

tcpip_socket = true


Andreas
--
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    ===

В списке pgsql-novice по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: psql: Is it possible to run a query from a *sql file?
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: how to make collation work