GBase 8s
安装配置
问答

急需安装好数据库之后我要做一下操作

发表于2025-04-14 13:59:47140次浏览4个评论

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。

【GBase版本】:

【操作系统】:

【CPU】:

【问题描述】*:比如我要创建个用户这是下面的、数据库:
IP:10.225.20.68
端口:15432
数据库名:bims_db
用户:bims_api
密码:什么什么什么
权限是:ALL(所有权
然后create database   xxx库名  encoding = 'utf8' dbcompatibility = 'B'; 这个建库语句 指定dbcompatibility = 'B'; 我知道,那创建好这个用户怎么去远程连接navicat呢,你告诉我怎么创建和怎么设置权限以及怎么navicat吧

评论

登录后才可以发表评论
用户头像
路路路发表于 1年前
GBase用户27057发表于 1年前
@路路路:是不是创建完之后然后设置好权限navicat就可以直接连接了。
GBase用户27057发表于 1年前
@路路路:您吧命令发给我叭,我执行一下试试看看行不行
用户头像
GBase用户137发表于 1年前
执行这三条命令
gs_guc reload -N all -I all -h "host all all 0.0.0.0/0 md5"
gs_guc set -N all -I all -c "listen_addresses = '*'"
gs_guc reload -N all -I all -c "password_encryption_type=1"
重启数据库:
gs_om -t restart
重启成功后登录数据库创建用户:
create user bims_api sysadmin password"xxx";

grant all privileges on bims_db to bims_api;
最佳回答