Skip to content

Instantly share code, notes, and snippets.

@evgeniy-trebin
Last active March 14, 2017 10:14
Show Gist options
  • Select an option

  • Save evgeniy-trebin/21a21c324b928aea861d8048fd9f2011 to your computer and use it in GitHub Desktop.

Select an option

Save evgeniy-trebin/21a21c324b928aea861d8048fd9f2011 to your computer and use it in GitHub Desktop.

Revisions

  1. evgeniy-trebin revised this gist Mar 14, 2017. 1 changed file with 2 additions and 10 deletions.
    12 changes: 2 additions & 10 deletions postgres_start_up.sh
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,2 @@
    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
    brew services start postgresql
    launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
  2. evgeniy-trebin created this gist Mar 14, 2017.
    10 changes: 10 additions & 0 deletions postgres_start_up.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    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