1
我試圖從命令行連接到我的Postgres服務器:如何在MacOS 10.8.5上配置PostgresSQL服務器?
$> psql
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
我試圖運行服務器:
$>postgres
postgres does not know where to find the server configuration file.
You must specify the --config-file or -D invocation option or set the
PGDATA environment variable.
任何人都可以指出我,我怎麼可以配置我的服務器所以它的作品?