FATA:no pg_hba.conf entry for ho

2019-06-05  本文已影响0人  测绘男的杂货铺

QGIS中新建PostGIS连接时,报错“FATA:no pg_hba.conf entry for host "192.168.37.4",user "postgres",database "mapbox",SSL off”。

解决方法:

1、找到pg_hba.conf配置文件(C:\Program Files\PostgreSQL\11\data\pg_hba.conf),在其中添加

host all all 0.0.0.0/0 md5

2、重启postgres服务,即可。

上一篇 下一篇

猜你喜欢

热点阅读