Auth Error

From: "Don Prouty" <dprouty(at)prolin(dot)dsaz(dot)com>
To: pgsql-general(at)postgreSQL(dot)org
Subject: Auth Error
Date: 1999-10-04 18:56:57
Message-ID: 7tatfd$7qk@nnrp3.farm.idt.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Robert 1999-10-04 19:43:56 Novice Q: trigger vs. rule
Previous Message Duncan Kinder 1999-10-04 18:31:25 Re: [PHP3] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison