Reputation: 209
I have a couchbase server and I want to connect to it from my query engine. I asked a lot and I found that I have to use this command
./cbq-engine -couchbase http://--couchbase-server-name--:8091/
regarding that I have many questions about that command, like where should I put the username and password, why should I use the port 8091 when my server is working online so port is 8080, I don't want the answer of those questions, but I need to know where should I execute that command?
I tried on cmd on but I got that cbq is not defined.
I am on windows 7 64bit
please help
Upvotes: 0
Views: 1982
Reputation: 1894
Since you're on windows, I believe the difference is that it's cbq.exe and you'll need to have it in your path or be in that directory. The downloads as posted at http://www.couchbase.com/communities/n1ql do have cbq.exe included:
.
├── LICENSE.txt
├── README
├── cbq-engine.exe
├── cbq.exe
├── data
├── start_tutorial.bat
└── static
2 directories, 5 files
Also note that the Java 2.0, node.js 2.0 and some other SDKs have experimental support for N1QL querying.
Upvotes: 1