Problem in pg_hba.conf

Поиск
Список
Период
Сортировка
От Mark Alliban
Тема Problem in pg_hba.conf
Дата
Msg-id 008c01bf4555$db0c8230$841720d4@centauri
обсуждение исходный текст
Ответы Re: [GENERAL] Problem in pg_hba.conf
Список 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 по дате отправления:

Предыдущее
От: Rosa.Carro@ii.uam.es
Дата:
Сообщение: Embeded SQL
Следующее
От: Marcin Mazurek - Multinet SA - Poznan
Дата:
Сообщение: Re: [GENERAL] Problem in pg_hba.conf