Skip to content

Instantly share code, notes, and snippets.

@endenis
Created September 20, 2014 22:01
Show Gist options
  • Save endenis/e9d2c45ad717e9c6cc7b to your computer and use it in GitHub Desktop.
Save endenis/e9d2c45ad717e9c6cc7b to your computer and use it in GitHub Desktop.
Commands for using postgresql on mac os x (installed via brew).
# Commands for using postgresql on mac os x (installed via brew).
# Start postgresql
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
# Status
pg_ctl -D /usr/local/var/postgres status
# Stop postgresql
pg_ctl -D /usr/local/var/postgres stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment