【GP】postgrepsql权限管理-创新互联
成都创新互联专注于通道企业网站建设,成都响应式网站建设,购物商城网站建设。通道网站建设公司,为通道等地区提供建站服务。全流程按需网站制作,专业设计,全程项目跟踪,成都创新互联专业和态度为您提供的服务 权限控制文件pg_hba.conf
[gpadmin@dw-greeplum-1 gpseg-1]$ more pg_hba.conf
格式如下
文章标题:【GP】postgrepsql权限管理-创新互联
URL网址:http://scyanting.com/article/dhspjg.html
格式如下
- # local DATABASE USER METHOD [OPTIONS] ####本地登
- # host DATABASE USER CIDR-ADDRESS METHOD [OPTIONS] ###host登录 -h的方式
- # hostssl DATABASE USER CIDR-ADDRESS METHOD [OPTIONS]
- # hostnossl DATABASE USER CIDR-ADDRESS METHOD [OPTIONS]
- host replication gpadmin 10.0.3.15/32 trust
local all gpadmin ident
host all gpadmin 127.0.0.1/28 trust
host all gpadmin 192.168.6.119/32 trust
host all gpadmin 10.0.3.15/32 trust
host all gpadmin ::1/128 trust
host all gpadmin fe80::a00:27ff:fe2b:8253/128 trust
host all gpadmin fe80::a00:27ff:fe36:96e4/128 trust ####trust信任,不需要输入密码了
local replication gpadmin ident
host replication gpadmin samenet trust
host all all 0.0.0.0/0 md5 ###md5需要输入密码
文章标题:【GP】postgrepsql权限管理-创新互联
URL网址:http://scyanting.com/article/dhspjg.html