【发布时间】:2011-09-10 02:11:11
【问题描述】:
psql mydb 产生:
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"?
psql -h localhost mydb 工作得很好。 pg_hba.conf 看起来像:
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
怎么了?
【问题讨论】:
标签: macos postgresql