无法在Mac OS X中启动cqlsh? [英] Unable to start cqlsh in Mac OS X?

查看:88
本文介绍了无法在Mac OS X中启动cqlsh?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功安装了 cassandra 2.0 。当我尝试启动 cql 3 时,我没有得到这样的选择:

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


推荐答案

卡桑德拉(Cassandra)被注视(我猜是localhost(具有默认设置)),您可以使用

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;

其中X.Y.Z是版本(例如:3.1.0)

where X.Y.Z is the version (eg: 3.1.0)

这篇关于无法在Mac OS X中启动cqlsh?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆