Re: cannot connect using terminal nor pgaccess

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: cannot connect using terminal nor pgaccess
Дата
Msg-id Pine.LNX.4.30.0105211910570.757-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: cannot connect using terminal nor pgaccess  (Jaume Teixi <teixi@6tems.com>)
Ответы Re: cannot connect using terminal nor pgaccess  ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>)
Список pgsql-admin
Jaume Teixi writes:

> but why the tcp/ip also doesn't works ?
>
> teixi@thinkpad:~$ grep -v ^# /etc/postgresql/pg_hba.conf | grep -i host
>
> host         all         127.0.0.1     255.255.255.0       ident sameuser
                                                                   ^^^^^^^^
> host         all         0.0.0.0       0.0.0.0             reject

> teixi@thinkpad:~$ psql -d template1 -U postgres -h localhost -p 5432
  ^^^^^                                  ^^^^^^^^
> psql: IDENT authentication failed for user 'postgres'

"sameuser" means "same user".  Please read up on the details of ident
authentication.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


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

Предыдущее
От: Jaume Teixi
Дата:
Сообщение: Re: cannot connect using terminal nor pgaccess
Следующее
От: Dronamraju Rajesh
Дата:
Сообщение: Re: cannot connect using terminal nor pgaccess