Received: from newsnipple.com (www.newsnipple.com [208.243.144.102]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2S1mww48181 for ; Tue, 27 Mar 2001 20:48:58 -0500 (EST) (envelope-from adam@newsnipple.com) Received: by newsnipple.com (Postfix, from userid 1000) id 1446F3116E; Tue, 27 Mar 2001 17:44:16 -0800 (PST) Date: Tue, 27 Mar 2001 17:44:15 -0800 From: Adam Haberlach To: Jamz@AirNet.Com.AU Cc: pgsql-interfaces@postgresql.org Subject: Re: Installation Problem Message-ID: <20010327174415.A31953@newsnipple.com> References: <9CA159BC716ED4119907009027F6583303005C@exchange01.airnet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <9CA159BC716ED4119907009027F6583303005C@exchange01.airnet.com.au>; from Jamz@AirNet.Com.AU on Wed, Mar 28, 2001 at 10:49:36AM +0930 X-Archive-Number: 200103/196 X-Sequence-Number: 1358 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 >^< |