From: | Adam Haberlach <adam(at)newsnipple(dot)com> |
---|---|
To: | Jamz(at)AirNet(dot)Com(dot)AU |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: Installation Problem |
Date: | 2001-03-28 01:44:15 |
Message-ID: | 20010327174415.A31953@newsnipple.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
On Wed, Mar 28, 2001 at 10:49:36AM +0930, Jamz(at)AirNet(dot)Com(dot)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(at)newsnipple(dot)com | http://youlook.org
http://www.newsnipple.com |
'88 EX500 '00 >^< |
From | Date | Subject | |
---|---|---|---|
Next Message | Jamz | 2001-03-28 02:00:36 | RE: Installation Problem |
Previous Message | Jamz | 2001-03-28 01:19:36 | Installation Problem |