Re: psql ... does not like my user ... help please ;-)

From: jgdon <REMOVEjgdon(at)ureach(dot)comREMOVE>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: psql ... does not like my user ... help please ;-)
Date: 2002-07-27 18:03:49
Message-ID: 3D42E085.3000205@ureach.comREMOVE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks all it was my config file ... ;-)

I just had to set up my psql for password auth ;-)

jgdon wrote:
> Hello I am playing with a fresh install of mandrake 8.2 and have decided
> to use the postgresql db as my database for a simple phonebook application.
>
> I am following the steps from a tutorial but can't seem to be able to
> access my data base as the user i created ... I keep getting the msg:
>
> psql: FATAL 1: IDENT authentication failed for user "jim"
>
>
> I am going to keep reading ... but i will hopefully get an answer to
> this post quicker [;-)]
>
> Thanks for any help in advance,
> Jim
>
> ps my actual attempt is listed below ...
> bash-2.05$ createuser jim -P
> Enter password for user "jim":
> Enter it again:
> Shall the new user be allowed to create databases? (y/n) y
> Shall the new user be allowed to create more new users? (y/n) y
> CREATE USER
>
>
> bash-2.05$ createdb gombaPhoneBookDB
> CREATE DATABASE
>
>
>
> bash-2.05$ psql phoneBookDB -U jim
> psql: FATAL 1: IDENT authentication failed for user "jim"
>
>
>
> bash-2.05$ psql phoneBookDB -u
> psql: Warning: The -u option is deprecated. Use -U.
> User name: jim
> Password:
> psql: FATAL 1: IDENT authentication failed for user "jim"
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gavin M. Roy 2002-07-27 18:42:22 Re : Re: OSCON 2002 Slides and Thoughts
Previous Message jgdon 2002-07-27 18:02:44 Postgres and Perl: Which DBI module?