gpt4 book ai didi

cassandra - keyspace system_auth 不存在?

转载 作者:行者123 更新时间:2023-12-05 01:04:54 24 4
gpt4 key购买 nike

我想执行以下命令:

alter KEYSPACE system_auth 
WITH replication =
{ 'class' : 'SimpleStrategy',
'replication_factor' : 2 };

system_auth 不显示为键空间是否正常?


基本上会出现以下错误:

Bad Request: Unknown keyspace system_auth


另外,我什至如何查看存在的键空间?甚至可以在 cqlsh 中查看它们吗?

最佳答案

当您使用 authenticator: AllowAllAuthenticator 时,不会创建该 key 空间
(默认情况下)。所以,设置你的authenticator,重启你的节点,你会没事的

关于cassandra - keyspace system_auth 不存在?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22216182/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com