Created
September 20, 2014 22:01
-
-
Save endenis/e9d2c45ad717e9c6cc7b to your computer and use it in GitHub Desktop.
Commands for using postgresql on mac os x (installed via brew).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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