Followed this post 1. Go to http://postgresapp.com/ then download and install 2. Add Postgres to PATH $ vi ~/.bash_profile export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin $ source ~/.bash_profile 3. Start Postgres by double clicking the app, then on the top icon, start "Initialize" 4. Try connecting using default postgres role $ psql -U postgres psql (9.6.3) Type "help" for help. postgres=#
No comments:
Post a Comment