当前位置:网站首页>opengauss创建用户权限问题
opengauss创建用户权限问题
2022-08-11 07:43:00 【Asky】
创建了一个用户,但是没有权限操作public的权限
db_test=> create table public.tb_test(id number,name varchar(32));
ERROR: permission denied for schema public
DETAIL: N/A
报该错误,然后赋予grant all privileges to hxl;这个权限,但是这个权限很大,是否有办法创建一个只能操作某个库的账号呢
openGauss=# grant all privileges to hxl;
ALTER ROLE
openGauss=# \du
List of roles
Role name | Attributes | Member of
-----------+------------------------------------------------------------------------------------------------------------------+-----------
hxl | Sysadmin | {}
omm | Sysadmin, Create role, Create DB, Replication, Administer audit, Monitoradmin, Operatoradmin, Policyadmin, UseFT | {}
其他答案1:
grant create,usage on schema public to hx1;
边栏推荐
- 【LeetCode】Summary of linked list problems
- The easiest trick to support quick renaming of various files
- 【TA-霜狼_may-《百人计划》】图形3.7.2 command buffer简
- 囍楽cloud task source code
- 项目1-PM2.5预测
- 通过记账,了解当月收支情况
- Tf中的平方,多次方,开方计算
- TF通过feature与label生成(特征,标签)集合,tf.data.Dataset.from_tensor_slices
- FPGA 20个例程篇:11.USB2.0接收并回复CRC16位校验
- 1036 跟奥巴马一起编程 (15 分)
猜你喜欢

1101 How many times B is A (15 points)

oracle数据库中列转行,列会有变化

囍楽云任务源码

Redis source code: how to view the Redis source code, the order of viewing the Redis source code, the sequence of the source code from the external data structure of Redis to the internal data structu

tf中自减操作;tf.assign_sub()

零基础SQL教程: 基础查询 05

Find the latest staff salary and the last staff salary changes

CSDN21天学习挑战赛——封装(06)

1051 复数乘法 (15 分)
![[Recommender System]: Overview of Collaborative Filtering and Content-Based Filtering](/img/bc/fd2b8282269f460f4be2da78b84c22.png)
[Recommender System]: Overview of Collaborative Filtering and Content-Based Filtering
随机推荐
【C语言】每日一题,求水仙花数,求变种水仙花数
1036 跟奥巴马一起编程 (15 分)
关于#sql#的问题:怎么将下面的数据按逗号分隔成多行,以列的形式展示出来
string类接口介绍及应用
Serverless + domain name can also build a personal blog? Really, and soon
4.1-支持向量机
Service的两种状态形式
项目1-PM2.5预测
Conditional statements in TF; where()
线程交替输出(你能想出几种方法)
pyqt5实现仪表盘
Tensorflow中使用tf.argmax返回张量沿指定维度最大值的索引
tf中矩阵乘法
机器学习总结(二)
Interaction of Pico neo3 in Unity
Pico neo3 Unity Packaging Settings
Unity开发者必备的C#脚本技巧
CIKM 2022 AnalytiCup Competition: Federal Heterogeneous Task Learning
流式结构化数据计算语言的进化与新选择
接口测试的基础流程和用例设计方法你知道吗?