How-Can-I-Start-Postgresql-Server-On-Mac-Os-X

Source URL: https://stackoverflow.com/questions/7975556/how-can-i-start-postgresql-server-on-mac-os-x

Language: sql

Created on: 2020-09-22 11:37:46

If you want to manually start and stop PostgreSQL (installed via Homebrew), the easiest way is:

brew services start postgresql

and

brew services stop postgresql

If you have a specific version, make sure to suffix the version. For example:

brew services start [email protected]
Final update: I had forgotten to run the initdb command. By running this command ps auxwww | grep postgres I see that postgres is not running > ps auxwww | grep postgres remcat 1789 ...
content_copy