Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

  Bruce Momjian                        |
  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

pgsql-cygwin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group