How do you login, check your user account and execute queries as a specific user in Cassandra?

StackOverflow https://stackoverflow.com/questions/22216588

Question

Once Cassandra has user accounts set up, how do you login as one of them? Alternatively how do I execute queries as a specific user?


Also, how do you check what user account you are logged in as?

Était-ce utile?

La solution

I think to run the console as a certain user you do:

cqlsh -u YOUR_USERNAME -p YOUR_PASSWORD

according to the following video:

http://www.youtube.com/watch?v=CAQyCdsNW-Q&list=PL6yjrg6fu0Ot4qz3ydBmmqbENe02HqNLV&index=71

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top