Unable to start cqlsh in Mac OS X?

情到浓时终转凉″ 提交于 2019-12-23 09:28:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!