I have setup db replication. And added below parameter in jdbc file . The connection is failing and it's throwing error like db doesn't exist on secondary server.
jdbc:postgresql://<primaryhost>:50001,172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true
.PSQLException: FATAL: database ",172.29.195.216:50001/crowd" does not exist
Can someone help on this issue?