Skip to content

Instantly share code, notes, and snippets.

View andymccall's full-sized avatar

Andy McCall andymccall

View GitHub Profile
@andymccall
andymccall / gist:78c349d2a15e407ae32fabc73b0df944
Created October 1, 2018 16:56 — forked from kingbin/gist:9435292
Manually Start/Stop PostgresSQL on Mac
# Stop PostgreSQL from auto starting
sudo launchctl unload -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist
# Enable PostgreSQL to auto start
sudo launchctl load -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist
# Start postgres
$ sudo su postgres
Password:
bash-3.2$ pg_ctl -D /Library/PostgreSQL/9.3/data/ start