Re: fe_sendauth: no password supplied - PostgreSQL 9.2

Поиск
Список
Период
Сортировка
От jaime soler
Тема Re: fe_sendauth: no password supplied - PostgreSQL 9.2
Дата
Msg-id 1472114023.9541.35.camel@gmail.com
обсуждение исходный текст
Ответ на Re: fe_sendauth: no password supplied - PostgreSQL 9.2  (Patrick B <patrickbakerbr@gmail.com>)
Список pgsql-admin
El lun, 08-08-2016 a las 08:32 +1200, Patrick B escribió:


2016-08-08 8:21 GMT+12:00 Lucas Possamai <drum.lucas@gmail.com>:
Change the pg_hba.conf on your slave01 server:

local   all             all                                     trust
host    all             all             0.0.0.0/0               trust
host    replication     replicator      0.0.0.0/0               trust

Replace the 0.0.0.0/0 for the IP address of slave02 server.



Hi Lucas!!

That worked... thanks a lot! :)

I think trust authentication method  is only recommended for testing I'll use md5 as you were using and you need to create a pgpass file with includes replicator password and the replication process doesn't throw any error.


Patrick

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

Предыдущее
От: Poul Kristensen
Дата:
Сообщение: Re: tools to centralize postgreSQL account management
Следующее
От: jaime soler
Дата:
Сообщение: Re: Does CLUSTER generate WAL data?