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

* trouble with pgaccess
@ 2003-12-29 22:19  davadie philippe <davadie.philippe@free.fr>
  0 siblings, 1 reply; 2+ messages in thread

From: davadie philippe @ 2003-12-29 22:19 UTC (permalink / raw)
  To: pgsql-interfaces

		Hi everybody !

	Excuse my poor english, since I'm french, and the dummy question I will
ask, since I'm new using pgaccess and postgresql.
	I have successfully installed pgaccess, but when I try to connect to
the databses I have created, I get the message :

	Error trying to connect to database 'garde' on host
	PostgreSQL error message : Connection to database failed
	FATAL : IDENT authentication failed for user "philippe"

	User philippe has been created by superuser postgres and is granted for
this database.
	Can anybody help me ?

	Thanks




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

* Re: trouble with pgaccess
@ 2003-12-30 01:11  Oliver Elphick <olly@lfix.co.uk>
  parent: davadie philippe <davadie.philippe@free.fr>
  0 siblings, 0 replies; 2+ messages in thread

From: Oliver Elphick @ 2003-12-30 01:11 UTC (permalink / raw)
  To: davadie philippe <davadie.philippe@free.fr>; +Cc: pgsql-interfaces

On Mon, 2003-12-29 at 22:19, davadie philippe wrote:
> 		Hi everybody !
> 
> 	Excuse my poor english, since I'm french, and the dummy question I will
> ask, since I'm new using pgaccess and postgresql.
> 	I have successfully installed pgaccess, but when I try to connect to
> the databses I have created, I get the message :
> 
> 	Error trying to connect to database 'garde' on host
> 	PostgreSQL error message : Connection to database failed
> 	FATAL : IDENT authentication failed for user "philippe"
> 
> 	User philippe has been created by superuser postgres and is granted for
> this database.

Access control is governed by the file $PGDATA/pg_hba.conf.  The
relevant line in that file is specifying "ident sameuser"
authentication, which means that it expects the postgresql user to have
the same name as the unix user; if your unix login were "philippe" it
would work.

Create a postgresql user with the same name as your login and try again.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Give to him that asketh thee, and from him that would 
      borrow of thee turn not away."         
                                      Matthew 5:42 




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


end of thread, other threads:[~2003-12-30 01:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-12-29 22:19 trouble with pgaccess davadie philippe <davadie.philippe@free.fr>
2003-12-30 01:11 ` Oliver Elphick <olly@lfix.co.uk>

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