Posted on 28th April 2025|226 views
What if the server runs locally and accepts connections on unix domain socket "/tmp/.s.PGSQL.5432"?
Posted on 28th April 2025| views
This kind of error happens when PostgreSQL server does not run due to force shut down because if you delete a postmaster. Pid without crosschecking if any process is running this could permanently corrupt your database.
And if this happens then you can use the procedure:
Brew services start PostgreSQL
Now you can create your database.