设置 Postgres

设置 Postgres

我最近安装了 PostgresSQL,但是当我进入psql终端时,出现错误:

psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory
    Is the server running locally and accepting connections on that socket?

这是我想要使用的套接字。如何设置 PostgresSQL?

相关内容