Re: pg_rewind

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

 



On Thu, 2020-01-23 at 15:39 +0000, soumik.bhattacharjee@xxxxxxx wrote:
> I am trying to make my previous Master as Master by roll backing the changes happen into Standby
> 
> In Original MASTER I am running below –
> 
> /usr/lib/postgresql/12/bin$ ./pg_rewind -D $PGDATA --source-server='host=<IP Address> port=5432' -P
> pg_rewind: fatal: could not connect to server: fe_sendauth: no password supplied
> 
> I'm not sure why this keeps happening.

Because you used the wrong user or didn't specify a password?

Try

   --source-server='host=<IP Address> port=5432 user=... password=...'

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






[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