repmgr ERROR: connection to database failedDETAIL: fe_sendauth: no password supplied

ERROR: connection to database failed DETAIL: fe_sendauth: no password supplied

repmgr报错切换失败

ERROR: connection to database failed
DETAIL: 
fe_sendauth: no password supplied

ERROR: unable to establish a replication connection to the rejoin target node

解决:

vim pg_hba.conf
host    all             all             0.0.0.0/0               md5
host    replication     repmgr          0.0.0.0/0               trust


 

你可能感兴趣的:(postgresql)