After restarting my MacBook Pro I am unable to start the database server:
could not connect to server: No such file or directory Is the server running local
brew info postgres will give you hints Like To migrate existing data from a previous major version of PostgreSQL run:
brew info postgres
To migrate existing data from a previous major version of PostgreSQL run:
So in my case removing the old one rm -rf /usr/local/var/postgres.old and upgrading the DB brew postgresql-upgrade-database
rm -rf /usr/local/var/postgres.old
brew postgresql-upgrade-database