Skip to content

Instantly share code, notes, and snippets.

@cap10morgan
Created February 7, 2011 19:53
Show Gist options
  • Save cap10morgan/815052 to your computer and use it in GitHub Desktop.
Save cap10morgan/815052 to your computer and use it in GitHub Desktop.
PostgreSQL trust local user accounts -- goes in pg_hba.conf
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment