0
这么久以来我就开始研究一个项目,并且我有很多事情需要设置才能开始。其中之一是PostgreSQL。我试图让它安装,但我遇到了一些问题。我可以在服务器启动,但后来当我去设置它,我得到以下:麻烦设置Postgres
Lady: anthonygarand$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
server starting
Lady: anthonygarand$ psql template1
psql: could not connect to server: Permission denied
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
任何帮助将非常感激。如有必要,我可以提供更多细节。请让我知道..我对这个东西了解不多。
谢谢!