PostgreSQL: Why psql can't connect to server?

前端 未结 22 2189
情书的邮戳
情书的邮戳 2020-12-07 10:40

I typed psql and I get this:

psql: could not connect to server: No such file or directory
    Is the server running locally and accepting
    con         


        
22条回答
  •  长情又很酷
    2020-12-07 11:06

    I had the same problem. It seems that there is no socket when there is no cluster.

    The default cluster creation failed during the installation because no default locale was set.

提交回复
热议问题