0
点赞
收藏
分享

微信扫一扫

openGauss数据库配置远程连接

 

txdb=# show password_encryption_type;
password_encryption_type
--------------------------
2
(1 row)

txdb=# alter system set password_encryption_type=1;
ALTER SYSTEM SET

 

远程连接修改:
[rapids@rapids01 txdb]$ vim install/data/dn/pg_hba.conf
ipv4增加
host    all             all             0.0.0.0/0    sha256

 

修改postgres.conf

listen_addresses = '*'

 

重启数据库



举报

相关推荐

0 条评论