Auth Error - Mailing list pgsql-general

From Don Prouty
Subject Auth Error
Date
Msg-id 7tatfd$7qk@nnrp3.farm.idt.net
Whole thread Raw
List pgsql-general
Hello. I am having a problem connecting to the postmaster via psql or
createdb....
I am logged in as postgres

$ initdb --username=postgres        /* seems to work ok - messages all
positive */
$ nohup postmaster -i > pgserver.log 2>&1 &    /* again - appears ok
returns pid# log file of 0 bytes */

$ createdb  (or psql)
Connection to database 'template1' failed.
No pg_hba.conf entry for host localhost, user postgres, database
template1
createdb: database creation failed on postgres.

the pg_hba.conf file contains the following 2 lines.

local        all                                         trust
host         all         127.0.0.1     255.255.255.255   trust

What went wrong?

TIA

--
Don



pgsql-general by date:

Previous
From: "Duncan Kinder"
Date:
Subject: Re: [PHP3] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison
Next
From: Robert
Date:
Subject: Novice Q: trigger vs. rule