pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_hba.conf setup
2+ messages / 2 participants
[nested] [flat]

* pg_hba.conf setup
@ 2005-09-29 21:00  Ben Sullins <ben.sullins@ourvacationstore.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Ben Sullins @ 2005-09-29 21:00 UTC (permalink / raw)
  To: pgsql-admin

Greetings,

 

I am attempting to setup a DTS package in Sql Server that will copy over
data from a Postgres database. I have followed the instructions found
here
(http://techdocs.postgresql.org/techdocs/usingpostgresqlwithdotnet.php)
but am still unable to connect. The error I receive when connecting is
"No pg_hba.conf entry for host <myipaddy>, user <myuser>, database
<mydb>". 

 

I logged onto the linux box via ssh and edited the file by adding a line
in pg_hba.conf for my ip. I'm thinking it other lines above my new entry
could be affecting my access restrictions. Below are the lines in order
as they appear in pg_hba.conf. Any assistance will be most appreciated.

-------

local  all      all             ident   sameuser

host all all 127.0.0.1 255.255.255.255 md5

host <myuser> <mydb> <myip> 255.255.255.255 trust

-------

Thanks,

--

Ben Sullins

Enterprise Reporting Team

 

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

* Re: pg_hba.conf setup
@ 2005-10-03 06:38  Jeff Frost <jeff@frostconsultingllc.com>
  parent: Ben Sullins <ben.sullins@ourvacationstore.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeff Frost @ 2005-10-03 06:38 UTC (permalink / raw)
  To: Ben Sullins <ben.sullins@ourvacationstore.com>; +Cc: pgsql-admin

On Thu, 29 Sep 2005, Ben Sullins wrote:

> I logged onto the linux box via ssh and edited the file by adding a line
> in pg_hba.conf for my ip. I'm thinking it other lines above my new entry
> could be affecting my access restrictions. Below are the lines in order
> as they appear in pg_hba.conf. Any assistance will be most appreciated.

Ben,

Did you reload or restart the postmaster daemon after you made your changes?



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


end of thread, other threads:[~2005-10-03 06:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-29 21:00 pg_hba.conf setup Ben Sullins <ben.sullins@ourvacationstore.com>
2005-10-03 06:38 ` Jeff Frost <jeff@frostconsultingllc.com>

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