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

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

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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top