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