399 Star 1.3K Fork 1.5K

GVPopenGauss / openGauss-server

 / 详情

OpenGauss Report Error When Create Database "permission denied to create database".

已完成
缺陷
创建于  
2020-07-20 17:01

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

  • bug

  • feature

What happened:

What you expected to happen:
When I tried to create database in opengauss, it report error "permission denied to create database".
The current user is gaussdb. What should i do to get the CREATEDB privilege.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Version:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

评论 (3)

luyao-201 创建了缺陷
luyao-201 关联仓库设置为openGauss/openGauss-server
展开全部操作日志

Hey @luyao-201, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/opengauss/community/blob/master/contributors/command.en.md to find the details.

opengauss-bot 添加了
 
kind/bug
标签

请先使用\du命令查看gaussdb是否有创建数据库的权限,若没有,则可以通过有授权权限的用户,执行alter user gaussdb createdb;授予创建数据库权限即可。

蒲甫安 添加了
 
question
标签
蒲甫安 移除了
 
kind/bug
标签
蒲甫安 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
5622128 opengauss bot 1581905080 5227357 xiangxinyong 1578982846
C++
1
https://gitee.com/opengauss/openGauss-server.git
git@gitee.com:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server

搜索帮助