0
我剛剛下載了Couchbase for OS X(社區版)並啓動了它。那部分進展順利。然後,我開始了在命令行外殼,CBQ,並試圖根據自己的文檔來運行命令:couchbase幫助不起作用
http://developer.couchbase.com/documentation/server/current/tools/cbq-shell.html#topic_bzd_zwr_w5
我可以成功運行的東西,如:
select * from `beer-sample` limit 1;
...但我不能運行像元命令:
:\HELP;
\ECHO hello;
那些所有的錯誤響應回來
cbq> \HELP;
{
"requestID": "a52b8f2f-bef3-4d6f-83a8-f839ad1a87bb",
"errors": [
{
"code": 3000,
"msg": "Input was not a statement."
}
],
"status": "fatal",
"metrics": {
"elapsedTime": "401.285µs",
"executionTime": "347.522µs",
"resultCount": 0,
"resultSize": 0,
"errorCount": 1
}
}
和
cbq> \ECHO hello;
{
"requestID": "0ec331ca-9f74-409f-b904-6d9543af73da",
"errors": [
{
"code": 3000,
"msg": "syntax error - at hello"
}
],
"status": "fatal",
"metrics": {
"elapsedTime": "492.399µs",
"executionTime": "431.839µs",
"resultCount": 0,
"resultSize": 0,
"errorCount": 1
}
}
我在做什麼錯在這裏?
應該工作,社區版的哪個版本您使用的? –