Created
December 16, 2019 10:43
-
-
Save ugened47/69420c4f4f616bc6e92d2b8d7d5fdcff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The common reason for this has something to do with shut down. When you shut down your PC or terminate your console(like Terminal in Mac) with your local server that using pg open, the error will occur. | |
As this https://stackoverflow.com/a/21420719/10738100 says, first try to remove PID file. | |
rm /usr/local/var/postgres/postmaster.pid | |
brew services restart postgresql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment