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: 200404261848.i3QImFt05938@candle.pha.pa.us (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group