I\'m using http://postgresapp.com. In the menubar it gives the error \" Could not start on port 5432.\" Similarly if I try to start the server from the terminal, I get:
I generally face this issue on my mac, and this fixes it for me always
rm /usr/local/var/postgres/postmaster.pid brew services restart postgresql
Hope this is helpful