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)
How to connect to Couchbase server 4.0(Beta) N1QL in windows?
606 views Asked by user2737980 At
2
There are 2 answers
1
On
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:
As documented in the Running your first N1QL query section of the Couchbase Server manual the port the
cbq
needs to connect to is 8093