【发布时间】:2016-12-04 06:35:00
【问题描述】:
我正在尝试通过 couchbase CBQon windows 查询安全存储桶。
我的 PATH 中有 couchbase/bin,我可以从命令行运行它:
cbq -engine=http://localhost:8091 -c=hug_contenthub:password
似乎连接正常:
Connected to : http://localhost:8091/. Type Ctrl-D or \QUIT to exit.
Path to history file for the shell : C:\Users\kevin\.cbq_history
cbq>_
从这里开始,除了退出,我什么都做不了。我尝试了几个命令:
cbq> select 1=1
> SELECT DISTINCT type FROM `beer-sample`
> create primary index on `beer-sample`
它们都被忽略了。完全没有反馈。唯一改变的是 cqb> 变为“....>”,cqb 位被剥离。
我在这里错过了什么?
【问题讨论】:
标签: couchbase