How do you create the first user in Cassandra DB

后端 未结 4 549
逝去的感伤
逝去的感伤 2021-01-01 13:37

How does one create the first user in a cassandra database?

I tried:

CREATE USER username WITH PASSWORD \"\";

and its says:

4条回答
  •  一整个雨季
    2021-01-01 14:28

    To start to use authentication, the default superuser username/password pair is cassandra/cassandra. This should fix the chicken and egg problem.

    Source: http://www.datastax.com/docs/datastax_enterprise3.0/security/native_authentication

提交回复
热议问题