I am getting the following error when I try and start the cbq-engine against my 2.2 cb server. Is there anything I need to do to pass along a username and password?
ZEN0049p:n1ql john.blayter$ ./cbq-engine -couchbase http://127.0.0.1:8091/
08:42:29.125970 FATAL: Unable to run server, err: Unable to access site http://127.0.0.1:8091/, err: HTTP error 401 Unauthorized getting “http://127.0.0.1:8091/pools”: – main.main() at main.go:62
ZEN0049p:n1ql john.blayter$
Note that in the Developer Preview 1, there is no support for authentication from client side. So, if you run the server with a specific set of credentials, all query clients will gain access to that bucket without requiring any authentication. This limitation is because it is a developer preview, and proper authentication will be in place in the near future.