Re: Error after typing "psql" - Mailing list pgsql-cygwin

From Bruce Momjian
Subject Re: Error after typing "psql"
Date
Msg-id 200404261848.i3QImFt05938@candle.pha.pa.us
Whole thread Raw
In response to Error after typing "psql"  (Maya <EscalanteCanada@netscape.net>)
List 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-cygwin by date:

Previous
From: Maya
Date:
Subject: Error after typing "psql"
Next
From: "Torstein Meland"
Date:
Subject: Compile and run Postgres under Cygwin