-2
每當我嘗試運行psql
本地即$ psql -d template1 -U postgres
我收到-bash: psql: command not found
無法運行的Postgres(PSQL)本地
我已經安裝Postgres的Mac應用程序,但是當我點擊打開psql裏我得到...
Last login: Tue Jan 6 16:30:17 on ttys001
admins-MacBook-Air:~ surajkapoor$ /Applications/Postgres.app/Contents/MacOS/bin/psql ; exit;
psql: FATAL: database "surajkapoor" does not exist
logout
[Process completed]
這對我沒有意義。我假設在本地安裝mac應用安裝postgres。
爲什麼你指定需要的參數使用'psql'時,而不是當使用工具的完整路徑? –