I have installed cassandra 2.0
successfully. When I try to start cql 3
I get no such option:
cassandra -v
2.0.9
./cqlsh -3
Usage: cqlsh [options] [host [port]]
cqlsh: error: no such option: -3
cqlsh is a command-line interface for interacting with Cassandra using CQL (the Cassandra Query Language). It is shipped with every Cassandra package, and can be found in the bin/ directory alongside the cassandra executable.
Following command is used to install Cassandra on MacOS. This installs Cassandra on location /usr/local/cellar/Cassandra .
Once Cassandra is started (I guess in localhost with default settings) you can connect using
./cqlsh localhost
if you want start it with a specific (older) version you can do
./cqlsh --cqlversion=X.Y.Z localhost;
where X.Y.Z is the version (eg: 3.1.0)
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