Re: Installation Problem - Mailing list pgsql-interfaces

From Adam Haberlach
Subject Re: Installation Problem
Date
Msg-id 20010327174415.A31953@newsnipple.com
Whole thread Raw
In response to Installation Problem  (Jamz@AirNet.Com.AU)
List pgsql-interfaces
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 >^<      |


pgsql-interfaces by date:

Previous
From: Jamz@AirNet.Com.AU
Date:
Subject: Installation Problem
Next
From: Jamz@AirNet.Com.AU
Date:
Subject: RE: Installation Problem