Reputation: 31546
I am on Mac OS High Sierra.
I did the following
brew install cassandra
brew services start cassandra
cqlsh localhost
~ > cqlsh localhost
Connection error: ('Unable to connect to any servers', {'::1': error(61, "Tried connecting to [('::1', 9042, 0, 0)]. Last error: Connection refused"), '127.0.0.1': error(61, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})
What is it that I'm doing wrong? is there any step in between?
Upvotes: 13
Views: 15099
Reputation: 1183
For the future viewer, adding to the comment by @Apolozeus you might also want to check if Cassandra was linked after it was installed by brew.
> brew link cassandra
This will create symlinks, after this you can invoke cassandra.
> cassandra
> cqlsh
Upvotes: 8