Re: Error after typing "psql"

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Maya <EscalanteCanada(at)netscape(dot)net>
Cc: psql mailing list <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Error after typing "psql"
Date: 2004-04-26 18:48:15
Message-ID: 200404261848.i3QImFt05938@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Maya wrote:
> Hi!!
> I just installed PostgreSQL in a MSW98 using cygwin. When I type 'psql'
> I get a message saying
> psql: could not connect to server: No such file or directory
> Is the server running locally and accepting connections on Unix
> domain socket "/tmp/.s.PGSQL.5432
> What can I do to solve this problem?
>

You have to start the postmaster with -i, or enable tcp sockets in
postgresql.conf, then use -h localhost in psql. This will be fixed in
7.5.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Loren Betts 2004-04-27 22:31:10 pilot debug issue "localhost:2000: Operation not permitted"
Previous Message Maya 2004-04-26 18:21:04 Error after typing "psql"