GBase 8c
安装配置
问答
远程连接数据库服务失败
发表于2025-08-19 11:09:08112次浏览5个评论
为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【GBase版本】:gbase 8c
【操作系统】:麒麟v10
【CPU】:x86_64
【问题描述】*:数据库服务在云服务器已经正常运行,本地通过dbeaver进行连接报 Cannot invoke "org.postgresql.core.v3.ScramAuthenticator.handleAuthenticationSASLContinue(int)" because the return value of "org.postgresql.util.internal.Nullness.castNonNull(Object)" is null
悬赏:8吉币
回答被发帖人采纳后可获得赏金
评论
登录后才可以发表评论
GBase用户137发表于 11个月前
最佳回答
GBase用户137发表于 11个月前
集中式场景需要执行:
gs_guc set -N all -I all -c "listen_addresses='localhost,192.168.0.1,客户端IP'"
gs_guc reload -N all -I all -c "encryption_password_type=1"
gs_guc reload -N all -I all -h
"host all all 客户端IP/开放端口 sha256"
重启数据库生效后
gs_om -t restart
创建具有sysadmin权限的用户:
CREATE USER username sysadmin password 'XXXX';
gs_guc set -N all -I all -c "listen_addresses='localhost,192.168.0.1,客户端IP'"
gs_guc reload -N all -I all -c "encryption_password_type=1"
gs_guc reload -N all -I all -h
"host all all 客户端IP/开放端口 sha256"
重启数据库生效后
gs_om -t restart
创建具有sysadmin权限的用户:
CREATE USER username sysadmin password 'XXXX';
the finally发表于 11个月前
@GBase用户137:按照这个配置改完 服务都起不来了,无法linsten 客户端ip:15400端口
GBase用户137发表于 11个月前
@the finally:具体执行命令是什么?附一下报错截图吧
崔哥发表于 9个月前
先水一个
热门帖子
- 12025-12-01浏览数:182763
- 22023-05-09浏览数:25057
- 42023-09-25浏览数:18525
- 52020-05-11浏览数:17528
分布式环境执行:
gs_guc reload -Z gtm -Z coordinator -Z datanode -N all -I all -c "listen_addresses='localhost,192.168.0.1,客户端IP'"
gs_guc reload -Z gtm -Z coordinator -Z datanode -N all -I all -c "encryption_password_type=1"
gs_guc reload -Z gtm -Z coordinator -Z datanode -N all -I all -h
"host all all 客户端IP/开放端口 sha256"
重启数据库生效后
gha_ctl restart all -l http://dcs节点ip:2379
创建具有sysadmin权限的用户:
CREATE USER username sysadmin password 'XXXX';