Re: fe_sendauth: no password supplied - PostgreSQL 9.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>:
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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux