Skip to content

Instantly share code, notes, and snippets.

View letusfly85's full-sized avatar
🎯
Focusing

Shunsuke Wada letusfly85

🎯
Focusing
View GitHub Profile
@letusfly85
letusfly85 / gist:a2fd72108acc710710b1ea52f910c9cd
Created November 26, 2018 15:47 — 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