postgresql安装遇到的错误

 安装完成postgresql,使用navicat进行配置数据库,输入自己的Ip后,提示错误。错误如下截图。

进入C:\Program Files\PostgreSQL\9.0\data修改pg_hba.conf文件: 

# IPv4 local connections:

host all all 127.0.0.1/32 md5

在下面添加一行代码:

host all all 192.168.1.101/32 md5

重新连接,一切正常.
ok,postgresql连接成功了。

猜你喜欢

转载自fenggaopan1991.iteye.com/blog/1922782