Skip to content

Instantly share code, notes, and snippets.

@esteedqueen
Created April 11, 2017 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esteedqueen/3c815d0bd5aca33bafb165f44c98c1b7 to your computer and use it in GitHub Desktop.
Save esteedqueen/3c815d0bd5aca33bafb165f44c98c1b7 to your computer and use it in GitHub Desktop.
Postgres could not connect to server error after shutdown or restart of MacOS
# could not connect to server: No such file or directory
# Is the server running locally and accepting
# connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Just run this command on the terminal
rm /usr/local/var/postgres/postmaster.pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment