psql: FATAL 1: IDENT authentication failed for user "phpuser" - Mailing list pgsql-novice

From Joel Lopez
Subject psql: FATAL 1: IDENT authentication failed for user "phpuser"
Date
Msg-id EMEKKBIPODLHPHIIILBJGELHDEAA.badassmexican@attbi.com
Whole thread Raw
Responses Re: psql: FATAL 1: IDENT authentication failed for user "phpuser"
Re: psql: FATAL 1: IDENT authentication failed for user
List pgsql-novice
Hi,

These are the commands I entered:

    su postgres
    createuser phpuser
        allowed to create DB: y
        allowed to create users: y
            (saw CREATE USER)
    createdb phpdb
            (saw CREATE DATABASE)

    psql phpdb -U phpuser
            (saw psql: FATAL 1: IDENT authentication failed for user "phpuser")

Is there a step I'm missing or am I entering the commands wrong?

thanks

pgsql-novice by date:

Previous
From: Dmitry Tkach
Date:
Subject: Re: problem with pl/pgsql function unknown parameters
Next
From: "Joel Lopez"
Date:
Subject: Re: psql: FATAL 1: IDENT authentication failed for user "phpuser"