Skip to content

Instantly share code, notes, and snippets.

@luisalcarasr
Created July 6, 2019 18:33
Show Gist options
  • Save luisalcarasr/9bf43721bc279bd6a66bc7d7c0fb1fe0 to your computer and use it in GitHub Desktop.
Save luisalcarasr/9bf43721bc279bd6a66bc7d7c0fb1fe0 to your computer and use it in GitHub Desktop.
Change PostgreSQL connection from Peer to MD5
sudo -u postgres psql
\password
/etc/postgresql/<version>main/pg_hba.conf
# TYPE DATABASE USER ADDRESS METHOD
local all all md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment