尝试连线已失败。 Connection reset Connection reset

尝试连线已失败。
Connection reset
Connection reset

请您具体描述一下报错场景,提供一下报错信息。

环境是在uos 专业版中用的虚拟机virtual 按的openEuler22.03版,在openEuler中安的openGauss 6.0 安装成功了,在虚拟机里面可以访问数据库,omm账号这些也配置了的。pg_hba也配置了。就是用Dbeaver社区版就报这个错。jdbc也下载的官方的6.0.2的。

“local” is for Unix domain socket connections only

local all all trust
host all omm 192.168.56.101/32 trust

IPv4 local connections:

host all all 127.0.0.1/32 trust
host all all 192.168.56.101/32 sha256
host all remote_user1 192.168.3.111/24 sha256

IPv6 local connections:

host all all ::1/128 trust

Allow replication connections from localhost, by a user with the

replication privilege.

#local replication omm trust
#host replication omm 127.0.0.1/32 trust
#host replication omm ::1/128 trust

防火墙这些都关闭了的

关闭防火墙并禁止开机重启。

systemctl disable firewalld.service
systemctl stop firewalld.service

可以设置允许md5加密方式连接试试

不是哪个原因,设的是sha256

现在连上了吗?可以看看这个:

https://www.hikunpeng.com/zh/developer/techArticles/0911-12

谢谢,可能使uos专业版不支持。

数据库能安装就应该能连上呀

后来安的虚拟机,用DBeaver-ce,可以连接,但使在开发idea里面就使能连接,不能看建立的表,不知道和cpu 是x86的有没有关系,内存16G

建表的时候报什么错呢?

此话题已在最后回复的 90 天后被自动关闭。不再允许新回复。