Guest User

Untitled

a guest
Dec 6th, 2017
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. primary_conninfo = 'host = 127.0.0.1 port = 5432 user = postgres password = postgres'
  2.  
  3. 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
  4.  
  5. host all all 0.0.0.0/0 trust
  6. host all postgres 127.0.0.1/0 trust
  7. # IPv6 local connections:
  8. host all all ::1/128 md5
  9. hostnossl all postgres 127.0.0.1/32 trust
  10. # Allow replication connections from localhost, by a user with the
  11. # replication privilege.
  12. #host replication postgres 127.0.0.1/32 md5
  13. #host replication postgres ::1/128 md5
  14.  
  15. host replication postgres 127.0.0.1/0 trust
Add Comment
Please, Sign In to add comment