Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. loclahost:5432:*:usernamegoeshere:passwordgoeshere
  2. nabsql01:5432:*:usernamegoeshere:passwordgoeshere
  3. nabsql05:5432:*:usernamegoeshere:passwordgoeshere
  4. nabsql06:5432:*:usernamegoeshere:passwordgoeshere
  5. nabdev03:5432:*:usernamegoeshere:passwordgoeshere
  6. 172.21.100.39:5432:*:usernamegoeshere:passwordgoeshere
  7.  
  8. for me this works
  9.  
  10. CLI:
  11. psql -U USER -w DB -h 127.0.0.1
  12.  
  13. hba:
  14. host all all 127.0.0.1/32 md5
  15.  
  16. ~/.pgpass:
  17. 127.0.0.1:5432:*:USER:PASS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement