pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: davadie philippe <davadie.philippe@free.fr>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: trouble with pgaccess
Date: Tue, 30 Dec 2003 01:11:30 +0000
Message-ID: <1072746690.16441.14.camel@linda.lfix.co.uk> (raw)
In-Reply-To: <1072736391.7028.6.camel@mk92.nioc.maison>
References: <1072736391.7028.6.camel@mk92.nioc.maison>

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 




view thread (2+ messages)

Message-ID: <1072746690.16441.14.camel@linda.lfix.co.uk>
Permalink:  ../1072746690.16441.14.camel@linda.lfix.co.uk/
Also on:    postgresql.org/message-id/1072746690.16441.14.camel@linda.lfix.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: olly@lfix.co.uk, davadie.philippe@free.fr
  Subject: Re: trouble with pgaccess
  In-Reply-To: <1072746690.16441.14.camel@linda.lfix.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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