本地psql命令找不到 [英] The local psql command could not be located
问题描述
我遵循这里找到的说明。 b $ b当我尝试运行 $ heroku pg:psql
或 $ heroku pg:psql HEROKU POSTGRESQL_BROWN
我收到以下错误讯息:
!本地psql命令无法找到!如需帮助
安装psql,请参阅 local-postgresql
在链接上我找不到任何有用的东西(它只是链接到我已经使用过的指令,但在页面的下方),也不能我在其他地方发现了这个错误。
如果我错过了任何你需要知道的答案,请告诉我。即使在本地安装Postgres后,我也遇到了同样的错误。
但在看到这个
后,我看到pqsl为不在PATH中,所以我就这么做了
PATH =%PATH%; C:\程序文件\ PostgreSQL\9.2 \bin
对我而言
I'm following the instructions found here.
When I try to run $ heroku pg:psql
or $ heroku pg:psql HEROKU POSTGRESQL_BROWN
I recieve the following error message:
! The local psql command could not be located ! For help installing psql, see local-postgresql
I can't find anything useful on the link it gives me (it just links to the instructions I was already using, but further down the page) nor can I find this error anywhere else.
If I've missed anything you need to know to answer this, just let me know. I'm rather new to all this and teaching myself as I go.
I had same error even after installing Postgres locally. But after seeing this I saw that "pqsl" was not in the PATH so I then did
PATH=%PATH%;C:\Program Files\PostgreSQL\9.2\bin
which worked for me
这篇关于本地psql命令找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!