pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eric Marsden <emarsden@mail.dotcom.fr>
To: pgsql-interfaces@hub.org
Subject: Re: Opening database with PGACCESS
Date: 02 Aug 1999 10:44:14 +0200
Message-ID: <wzid7x67esh.fsf@mail.dotcom.fr> (raw)
References: <199908020431.FAA05810@linda.lfix.co.uk>

>>>>> "oe" == Oliver Elphick <olly@lfix.co.uk> writes:

  rod> "Error connecting database. Connection to database failed
  rod> connectDB() failed: Is the postmaster running and accepting
  rod> TCP/IP (with -i) connections at 'localhost' on port '5432'"
  rod> 
  rod> The postmaster is running and I can connect to mydb using "psql":

  oe> pgaccess uses a TCP/IP connection through localhost, so you have
  oe> to use the -i option when starting the postmaster, even though
  oe> you have no other machines connecting to it.

well, there's a trick to get around that. If you provide an empty host
name and port number in the pgaccess connection dialog, it will switch
to a unix socket connection, and will work even without `-i'.

Has worked for me in the past, anyway.  

-- 
Eric Marsden
It's elephants all the way down



view thread (4+ messages)

Message-ID: <wzid7x67esh.fsf@mail.dotcom.fr>
Permalink:  ../wzid7x67esh.fsf@mail.dotcom.fr/
Also on:    postgresql.org/message-id/wzid7x67esh.fsf@mail.dotcom.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: emarsden@mail.dotcom.fr, pgsql-interfaces@hub.org
  Subject: Re: Opening database with PGACCESS
  In-Reply-To: <wzid7x67esh.fsf@mail.dotcom.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox