I installed PostgreSQL on mavericks, but running `which psql` does not do anything. Did it install correctly? -


i installed postgresql using downloadable graphic installer. i'm able launch pgadmin postgresql's gui. however, when run which psql on terminal, i'm not getting path (and based on read here should yield path provided postgres installed).

after looking @ stackoverflow post, should have done via homebrew. should uninstall postgresql got via graphic installer, , re-install using homebrew?

noob here, , appreciate patience.

if you've installed using postgres.app, path binary should under /applications/postgres.app/. try running @ terminal, can see on system it's under /applications/postgres.app/contents/macos/bin.

$: find /applications/postgres.app/ -name "psql" -print /applications/postgres.app/contents/macos/bin/psql 

if want add path variable, use this tutorial.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -