PostgreSQL: Why psql can't connect to server?

前端 未结 22 2182
情书的邮戳
情书的邮戳 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 10:58

    It can cause anything for example, my issue was caused for typo error on configuration files. Some of people says caused by certificate files, another group says caused by unmatched locals.

    If you cant find any solution about your issue, remove postgres and reinstall it.This is the best solution.

提交回复
热议问题