How to start/stop Postgresql on Mac OS X
ReportQuestion
Please briefly explain why you feel this question should be reported .
1st approach:
- sudo launchctl start com.edb.launchd.postgresql-9.2
- sudo launchctl stop com.edb.launchd.postgresql-9.2
2nd approach:
-
- get the data store location (e.g. /Library/PostgreSQL/9.2/data) from /Library/LaunchDaemons/com.edb.launchd.postgresql-9.2.plist
- su postgres
- cd /Library/PostgreSQL/9.2/bin/
-
- ./pg_ctl -D /Library/PostgreSQL/9.2/data/ start
- ./pg_ctl -D /Library/PostgreSQL/9.2/data/ stop
0
SQL
10 months
2021-08-05T10:54:53+02:00
2021-08-05T10:54:53+02:00 0 Answers
11 views
0
Leave an answer