【发布时间】:2022-01-23 14:16:42
【问题描述】:
我会运行 postgreSQl,但是当我启动 pg_start 时出现此错误
`could not identify current directory: Permission denied
could not identify current directory: Permission denied
could not identify current directory: Permission denied
The program "postgres" is needed by pg_ctl but was not found in the
same directory as "pg_ctl".
Check your installation.`
我尝试了很多方法,例如 pg_ctl -D /usr/local/var/postgres start 、 brew services restart postgresql 、 brew search "postgresql". ,我曾经使用 brew install --cask navicat-for-postgresql 更新 Homebrew,但仍然出现错误。
【问题讨论】:
标签: javascript sql reactjs