grant database access

Поиск
Список
Период
Сортировка
От e-letter
Тема grant database access
Дата
Msg-id CAET1fe64_-mnJuEy+=f5V2zAJ0BHRDkoF3xfqkyLREVb11WKmw@mail.gmail.com
обсуждение исходный текст
Ответы Re: grant database access  (Carlo Ascani <carlo.ascani@2ndquadrant.it>)
Список pgsql-novice
Readers,

I have inherited a m$ pc with postgresql83 installed. Have tried to
create a new database using pgadminiii but received the error:

Access to database denied
The server doesn't grant access to the database: the server reports
FATAL: no pg_hba.conf entry for host "127.0.0.1", user "postgresr",
database "postgres", SSL off
To access a database on a PostgreSQL server, you first have to grant
primary access to the server for your client (Host Based
Authentication). PostgreSQL will check the pg_hba.conf file if a
pattern that matches your client address / username / database is
present and enabled before any SQL GRANT access control lists are
evaluated.

The pghbaconf file contains:

# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# IPv4 local connections:
local     all     all          trust
# IPv6 local connections:
#host    all         all         ::1/128               md5

Any advice please?

В списке pgsql-novice по дате отправления:

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: moving CSV data into table?
Следующее
От: Carlo Ascani
Дата:
Сообщение: Re: grant database access