From: Tom Lane <tgl@sss.pgh.pa.us>
To: rodneyr@embratel.com.br
Cc: pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Opening database with PGACCESS
Date: Mon, 02 Aug 1999 00:33:12 -0400
Message-ID: <29872.933568392@sss.pgh.pa.us> (raw)
In-Reply-To: <032567C1.0003CBDA.00@ntrjo008.nt.embratel.com.br>
rodneyr@embratel.com.br writes:
> When I try to open my database (mydb) with the pgaccess, I receive the
> following message:
> "Error connecting database. Connection to database failed
> connectDB() failed: Is the postmaster running and accepting
> TCP/IP (with -i) connections at 'localhost' on port '5432'"
> The postmaster is running and I can connect to mydb using "psql":
>> psql mydb
psql defaults to connecting via Unix sockets. If you make it connect
via TCP (by saying "psql -h localhost mydb") I'll bet it fails too.
Most likely, your pg_hba.conf is set up to allow Unix socket connections
but not TCP connections, not even from localhost.
regards, tom lane
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: tgl@sss.pgh.pa.us, rodneyr@embratel.com.br, pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Opening database with PGACCESS
In-Reply-To: <29872.933568392@sss.pgh.pa.us>
* 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