$ psql psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
The reason for the issue is because a pid file was blocking postgres from starting up. To fix it:
and then all is well.
Subscribe to Today I learned
Get the latest posts delivered right to your inbox