Skip to content

Instantly share code, notes, and snippets.

@jirikolarik
Created January 23, 2015 09:04
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 jirikolarik/525accba90a40237171e to your computer and use it in GitHub Desktop.
Save jirikolarik/525accba90a40237171e to your computer and use it in GitHub Desktop.
Postgres isn't running fix on homebrew
psql: 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"?
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
rm /usr/local/var/postgres/postmaster.pid
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment