问题
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
回答1:
Once cassandra is starded (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)
来源:https://stackoverflow.com/questions/24964673/unable-to-start-cqlsh-in-mac-os-x