PostgreSQL Permission denied Error on Unix domain socket “/var/pgsql_socket/.s.PGSQL.5432” - Lion Server 10.7.3 or Lion Server 10.7.4

前端 未结 2 1760
孤城傲影
孤城傲影 2020-12-12 02:36

I recently had major permission problems using Lion Server where permissions would change on folders at will. During this time I had started getting the following error whe

2条回答
  •  Happy的楠姐
    2020-12-12 03:19

    which psql will most likely show /bin/psql I'm guessing we want to call /usr/local/bin/psql

    So either we change the $PATH to include /local/bin prior to /bin, which I don't think is a very good solution (security and such), or We remove /usr/bin/psql by either rm-ing (or mv-ing) the file, (and symlinking to /usr/local/bin) or uninstalling the psql client.

提交回复
热议问题