如何在Windows中连接到Couchbase服务器4.0(Beta)N1QL? [英] How to connect to Couchbase server 4.0(Beta) N1QL in windows?
问题描述
我刚刚安装了Couchbase Server 4.0(测试版),并尝试运行N1QL查询,但无法连接它.当我尝试运行 cbq-engine.exe -couchbase http://localhost:8091/
时,命令提示符自动关闭.当尝试使用 cb.exe -engine = http://localhost:8091/
时,它也不起作用.是虫子吗?如何连接呢?(我正在从安装的bin目录中运行cbq.exe)
I have just installed Couchbase Server 4.0(beta) and try to run N1QL Query, but could not connect it.
When I try to run cbq-engine.exe -couchbase http://localhost:8091/
The command prompt closed automatically. When try to use cb.exe -engine=http://localhost:8091/
It also does not work. Is it bug?
How to connect it?
(I am running cbq.exe from bin directory of installation)
推荐答案
在安装过程中可能遗漏了一些东西(这不止一次发生在我身上,并且已经通知了团队):您是否检查了索引和"查询复选框,默认情况下未选中它们,没有它,N1QL不会运行...
There may be something you missed during installation (it happened to me more than once, and this has been signaled to the team): did you check the "Index" and "Query" checkbox, they are unselected by default, and without it N1QL doesn't run...
请参见下面的屏幕快照中启动新群集"下的复选框:
See the checkboxes under "Start a new Cluster" in the screenshot below:
这篇关于如何在Windows中连接到Couchbase服务器4.0(Beta)N1QL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!