psql的新手,安装后给出第一个命令psql时出错。我检查了所有需要的端口是否可用,并且将服务更改为“运行”状态,仍然无法正常工作
完全错误:
psql: could not connect to server:connection refused
<0x0000274D/10061>
Is the server runnining on "localhost"<::1> and
accepting
TCP/IP connections omn port 5432?
could not connect to server:connectionrefused<0x0000274D/10061>
is the server running on host "localhost"<127.0.0.1> and accepting TCP/Ip connections on port 5432?