I had an error code after installing postgresql on Mac OSX with homebrew. After spending two hours googling the web– stackoverflow, blog, etc, nothing works. I got some help and this one liner will fix everything:
brew services start postgresql
here’s a snapshot of my terminal:
</figure>