Skip to content

Instantly share code, notes, and snippets.

@evgeniy-trebin
Last active March 14, 2017 10:14
Show Gist options
  • Save evgeniy-trebin/21a21c324b928aea861d8048fd9f2011 to your computer and use it in GitHub Desktop.
Save evgeniy-trebin/21a21c324b928aea861d8048fd9f2011 to your computer and use it in GitHub Desktop.
Postgresql load at startup in Mac OS
brew services start postgresql
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
@evgeniy-trebin
Copy link
Author

Uncaught exception: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
Exiting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (fe80::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment