Postgres could not connect to server

JAN 07, 2022
rm /usr/local/var/postgres/postmaster.pid
brew services restart postgresql

source for fix

— Adrian