Skip to content

Instantly share code, notes, and snippets.

@ajmalafif
Last active March 23, 2020 04:15
Show Gist options
  • Save ajmalafif/994f707bd291d008eb9b to your computer and use it in GitHub Desktop.
Save ajmalafif/994f707bd291d008eb9b to your computer and use it in GitHub Desktop.
[pg] — Fix Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"
@mirceadaniel
Copy link

Thank you!

@shivabhusal
Copy link

shivabhusal commented Mar 23, 2020

So just add export PGHOST=localhost to your shell start file, e.g. ~/.zshrc and you are set.

It worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment