PostgreSQL is not running

PostgreSQL is installed but not running. How to start it?

First, just try:

brew services start postgresql

If it doesn't help, the most probably reason in present postmaster.pid file, just remove it:

rm /usr/local/var/postgres/postmaster.pid

Related articles