r
ravi sankar

Posted on 2nd October 2022|10 views

0
votes

Tmp S Pgsql 5432

What do I do if this occurs on my MAC as "/tmp/.s.PGSQL.5432"?

Answers
P
chris bons

Posted on 2nd October 2022

This error mostly occurs when you forcefully stop the working of the PostgreSQL in any way.

If you have installed with Brew then now I will show you how to fix this issue as:

  1. First of all, we need to check and stop the working of the PostgreSQL because if we do not stop this, then the database will be corrupted.so to prevent that we need to stop the Brew services using the Brew services stop PostgreSQL.  
  2. Now the first step is to remove the Postmaster.pid file, which will remove all the stoped processes.
  3. Now, as usual, we need to start Brew services again, which will allow us to eliminate those errors and start the PostgreSQL working still.

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