Problem in pg_hba.conf - Mailing list pgsql-general

From Mark Alliban
Subject Problem in pg_hba.conf
Date
Msg-id 008c01bf4555$db0c8230$841720d4@centauri
Whole thread Raw
Responses Re: [GENERAL] Problem in pg_hba.conf  (Marcin Mazurek - Multinet SA - Poznan <m.mazurek@multinet.pl>)
List pgsql-general
Hi,
 
I have just installed PostgreSQL on SCO OpenServer 5.05 but I am having problems creating a database. My pg_hba.conf file reads:
 
local        all                                         trust
host         all         127.0.0.1     255.255.255.255   trust

When I try to create a database, I get:
 
Postgres$ createdb test
Connection to database 'template1' failed.
No pg_hba.conf entry for host localhost, user postgres, database template1
createdb: database creation failed on test.
 
Is there a problem with my pg_hba.conf file, or is it another problem?
Thanks,
Mark.
 

pgsql-general by date:

Previous
From: Rosa.Carro@ii.uam.es
Date:
Subject: Embeded SQL
Next
From: Marcin Mazurek - Multinet SA - Poznan
Date:
Subject: Re: [GENERAL] Problem in pg_hba.conf