帮助

Welcome!

This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

DataEase连接本地PGSql问题解决

形象
张康斌

SSL 关闭 的 pg_hba.conf 记录 (pgjdbc: autodetected server-encoding to be GB2312, if the message is not readable, please check database logs and/or host, port, dbname, user, password, pg_hba.conf)

原因:

这是在远程连接时pg_hba.conf文件没有配置正确。

解决方法:

1、找到pg_hba.conf文件(在Postgre安装文件目录下的data文件夹中)

2、打开pg_hba.conf文件,并在文件末尾添加
host all all 0.0.0.0/0 md5

3、重启postgresql的服务,应该就可以连了。

形象
丢弃