首先错误是这个
使用navicat连接本地PostgreSQL数据库时报错:
could not connect to server: Connection refused (0x0000274D/10061) Is
the server running on host"localhost" (:1) and acceptingTCP/IP
connections on port 5433 ?could not connect to server: Connection refused (0x0000274D/10061)Is
the server running on host"localhost" (127.0.0.1) and acceptingTCP/IP
connections on port 5433?首先检查一下是不是没有启动PostgreSQL服务,因为没启动服务可能会报这个错误(我就是);
方法如下:
win+R打开输入命令框,输入services.msc打开服务列表。
右键启动
--------------------- 作者:IRainReally 来源:优快云 原文:https://blog.youkuaiyun.com/IRainReally/article/details/80090134
版权声明:本文为博主原创文章