Re: [despammed] Connection problems with "psql -h localhost postgres"
От | Andreas Kretschmer |
---|---|
Тема | Re: [despammed] Connection problems with "psql -h localhost |
Дата | |
Msg-id | 20050502133853.GN5962@webserv.wug-glas.de обсуждение исходный текст |
Ответ на |
Connection problems with "psql -h localhost |
Ответы |
Re: [despammed] Connection problems with "psql -h localhost |
Список | 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 по дате отправления: