简体   繁体   English

Azure 超大规模 (Citus) 无法使用 citus 帐户创建数据库

[英]Azure Hyperscale (Citus) couldn't create database with the citus account

After creating the Azure Hyperscale (Citus) on the Azure portal, I use DbBeaver to access to the created database.在 Azure 门户上创建 Azure Hyperscale (Citus) 后,我使用 DbBeaver 访问创建的数据库。 I can connect to that database (succeed login to with the citus account and its password on the Azure portal), but when I tried to create the new database, then I couldn't create it.我可以连接到该数据库(在 Azure 门户网站上使用citus帐户及其密码成功登录),但是当我尝试创建新数据库时,我无法创建它。

I have got the exception as below我有如下异常

在此处输入图像描述

After investigation a while, I found out that the citus account didn't have permission for create database as following经过一段时间的调查,我发现citus帐户没有create database的权限,如下所示

在此处输入图像描述

But I couldn't check that checkbox and save it.但我无法选中该复选框并保存它。 It has always thrown exception that I don't have permission with the citus account (the default account created after I created the Citus Postgres Db)它总是抛出异常,我没有citus帐户的权限(我创建 Citus Postgres Db 后创建的默认帐户)

Just noticed that I can create the new database successfully with the same approach above in the last week.刚刚注意到我可以在上周使用与上述相同的方法成功创建新数据库。 But now I couldn't.但现在我做不到了。

Have anyone got the same issue as me?有没有人和我一样的问题? And how can we solve it?我们该如何解决呢? I tried to search around Google but have got no luck.我试图搜索谷歌,但没有运气。

Thank you very much.非常感谢。

Hyperscale (Citus) requires that users work on the default database (citus) and does not let users to create new databases.超大规模 (Citus) 要求用户在默认数据库 (citus) 上工作,并且不允许用户创建新数据库。

The behavior has been always like this.行为一直都是这样。

Could you tell about why you need a new database?你能说说你为什么需要一个新的数据库吗? If you need separation of the tables, you can use a namespace, if you need security you can set user based access levels on tables.如果需要分离表,可以使用命名空间,如果需要安全性,可以在表上设置基于用户的访问级别。

Thanks谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM