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