PostgreSQL无法连接Server(报错could not connect to server)
pgsql连接失败
·
使用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打开服务列表。
- 右键启动
更多推荐
已为社区贡献1条内容
所有评论(0)