pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Installation Problem
3+ messages / 2 participants
[nested] [flat]

* Installation Problem
@ 2001-03-28 01:19 Jamz@AirNet.Com.AU
  2001-03-28 01:44 ` Re: Installation Problem Adam Haberlach <adam@newsnipple.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Jamz@AirNet.Com.AU @ 2001-03-28 01:19 UTC (permalink / raw)
  To: pgsql-interfaces


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"

Any ideas would be really appreciated.
Regards,
	Jamz.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Installation Problem
  2001-03-28 01:19 Installation Problem Jamz@AirNet.Com.AU
@ 2001-03-28 01:44 ` Adam Haberlach <adam@newsnipple.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Adam Haberlach @ 2001-03-28 01:44 UTC (permalink / raw)
  To: Jamz@AirNet.Com.AU; +Cc: 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 >^<      |



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* RE: Installation Problem
@ 2001-03-28 02:00 Jamz@AirNet.Com.AU
  0 siblings, 0 replies; 3+ messages in thread

From: Jamz@AirNet.Com.AU @ 2001-03-28 02:00 UTC (permalink / raw)
  To: adam@newsnipple.com; +Cc: pgsql-interfaces

Thanks very much - that did the trick!

> -----Original Message-----
> From: Adam Haberlach [mailto:adam@newsnipple.com]
> Sent: Wednesday, 28 March 2001 11:14 AM
> To: Jamz@AirNet.Com.AU
> Cc: pgsql-interfaces@postgresql.org
> Subject: Re: [INTERFACES] Installation Problem
> 
> 
> 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 >^<      |
> 



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-03-28 02:00 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-28 01:19 Installation Problem Jamz@AirNet.Com.AU
2001-03-28 01:44 ` Adam Haberlach <adam@newsnipple.com>
2001-03-28 02:00 RE: Installation Problem Jamz@AirNet.Com.AU

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