Failed to start cqlsh on mac os x?

I installed cassandra 2.0 successfully. When I try to run cql 3 , I do not get this option:

 cassandra -v 2.0.9 ./cqlsh -3 Usage: cqlsh [options] [host [port]] cqlsh: error: no such option: -3 
+6
source share
1 answer

Once cassandra is blocked (I think in localhost with default settings) you can connect using

 ./cqlsh localhost 

if you want to run it with a specific (older) version you can do

 ./cqlsh --cqlversion=XYZ localhost; 

where XYZ is the version (for example: 3.1.0)

+2
source

Source: https://habr.com/ru/post/972862/


All Articles