logo-MindMajix
r
rushi chowdary

Posted on 25th July 2024|226 views

0
votes

Is The Server Running Locally And Accepting

What if the server runs locally and accepts connections on unix domain socket "/tmp/.s.PGSQL.5432"?

1 answers
Answers
P
Harish Harsh

Posted on 25th July 2024| 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:

  1. Uninstall the PostgreSQL using Brew
  2. Remove all the PostgreSQL folders
  3. Then again reinstall the PostgreSQL using Brew
  4. start server using the command

Brew services start PostgreSQL

Now you can create your database.

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number