Created
June 1, 2020 10:09
-
-
Save byk0t/1ea9737b4b2eb4ae06101e6bb9be5428 to your computer and use it in GitHub Desktop.
Postgres: allow connections for not OS users
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo nano /etc/postgresql/12/main/pg_hba.conf | |
# "local" is for Unix domain socket connections only | |
local all all trust | |
# IPv4 local connections: | |
host all all 127.0.0.1/32 trust |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment