Horje Website
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”? Code Example | Shell/Bash
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”?
 
  1. $ rm /usr/local/var/postgres/postmaster.pid
  2. $ brew services restart postgresql
  3. # Think to restart your terminal (cmd + q on macOS)
Published:
February 26, 2021
Author:
admin
Category:
Live Code, Shell/Bash Code
Views:
25

This article was posted in Live Code, Shell/Bash Code and tagged , , . Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Horje © 2011 - 2023