PGSQL连接报错/var/run/postgresql/.s.PGSQL.5432
更新:HHH   时间:2023-1-7


错误信息:

psql: could not connect to server: Connection refused

        Is the server running locally and accepting

        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


解决办法:

psql -h IP

返回数据库教程...