Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- primary_conninfo = 'host = 127.0.0.1 port = 5432 user = postgres password = postgres'
- FATAL: could not connect to the primary server: FATAL: no pg_hba.conf entry for replication connection from host "127.0.0.1", user "postgres", SSL off
- host all all 0.0.0.0/0 trust
- host all postgres 127.0.0.1/0 trust
- # IPv6 local connections:
- host all all ::1/128 md5
- hostnossl all postgres 127.0.0.1/32 trust
- # Allow replication connections from localhost, by a user with the
- # replication privilege.
- #host replication postgres 127.0.0.1/32 md5
- #host replication postgres ::1/128 md5
- host replication postgres 127.0.0.1/0 trust
Add Comment
Please, Sign In to add comment