pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Haberlach <adam@newsnipple.com>
To: Jamz@AirNet.Com.AU
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Installation Problem
Date: Tue, 27 Mar 2001 17:44:15 -0800
Message-ID: <20010327174415.A31953@newsnipple.com> (raw)
In-Reply-To: <9CA159BC716ED4119907009027F6583303005C@exchange01.airnet.com.au>
References: <9CA159BC716ED4119907009027F6583303005C@exchange01.airnet.com.au>

On Wed, Mar 28, 2001 at 10:49:36AM +0930, Jamz@AirNet.Com.AU wrote:
> 
> Hello people,
> 	I have successfully installed (on WIn2k) and written a small
> application that uses the Postgres ODBC driver, and have come to install it
> on the production Win2k machine and I get this error 
> 
> "Test Connection failed because of an error initializing provider. No
> pg_hba.conf entry for host 203.xx.xx.xx, user posrtgres, database bmf"

	The server is complaining that you don't give the client's IP
permission to connect.  You should check on the server in the pg_hba.conf
file (in the $PGDATA directory, I believe) and give the mentioned IP
(or subnet) a privledge level that will let it connect.


Adding the line:
host         all         127.0.0.1     203.xx.xx.xx     trust

Should let that particular host connect...but you may want more...

-- 
Adam Haberlach            |
adam@newsnipple.com       | http://youlook.org
http://www.newsnipple.com |
'88 EX500    '00 >^<      |



view thread (3+ messages)  latest in thread

Message-ID: <20010327174415.A31953@newsnipple.com>
Permalink:  ../20010327174415.A31953@newsnipple.com/
Also on:    postgresql.org/message-id/20010327174415.A31953@newsnipple.com

 · 

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: adam@newsnipple.com, Jamz@AirNet.Com.AU
  Subject: Re: Installation Problem
  In-Reply-To: <20010327174415.A31953@newsnipple.com>

* 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