Skip to content

Instantly share code, notes, and snippets.

@bencharb
Created September 6, 2014 00:30
Show Gist options
  • Save bencharb/a89e4b22d97eacb16886 to your computer and use it in GitHub Desktop.
Save bencharb/a89e4b22d97eacb16886 to your computer and use it in GitHub Desktop.
start/stop postgres on mac
The Homebrew package manager includes launchctl plists to start automatically. For more information run brew info postgres.
Start manually:
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
Stop manually:
pg_ctl -D /usr/local/var/postgres stop -s -m fast
#-- JamesA on http://stackoverflow.com/a/7975660
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment