Created
August 20, 2013 19:43
-
-
Save phlco/6286225 to your computer and use it in GitHub Desktop.
Fixing Postgres
This file contains hidden or 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
# If your postgres isn't working properly | |
## check | |
- Is the elephant in your menu bar? | |
- Are you pointing to the correct psql? | |
``` | |
$ which psql | |
=> /Applications/Postgres.app/Contents/MacOS/bin/psql | |
``` | |
If you get something different add the following to your `.bash_profile` | |
``` | |
PATH="/Applications/Postgres.app/Contents/MacOS/bin:$PATH" | |
``` | |
Then restart your terminal or reload your `.bash_profile` | |
## How do I? | |
Open my `.bash_profile`? | |
``` | |
$ subl ~/.bash_profile | |
``` | |
Reload my `.bash_profile`? | |
``` | |
$ source ~/.bash_profile | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment