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?
Download and Install CassandraRun the datastax community edition setup. After running the setup, you will see the following page will be displayed. It is a screenshot of 64 bit version. Press the next button and you will get the following page specifying the location of the installation.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With