如何结束CQLshell?
How to end the CQL shell?
我正在学习Cassandra吧now.The问题就在这里
[cqlsh 5.0.1 | Cassandra 3.11.1 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
cqlsh> q
... quit
... HELP
... !
... EXIT
...
... quit
... !
... EXIT
...
如何退出 shell?
尝试
<control-c>exit<enter>
官网也写了退出命令...
是的,上面发生的事情是,cqlsh 认为您正在输入多行命令:
aploetz@cqlsh> q
... quit
... EXIT
... exit
... ;
Bad Request: line 1:0 no viable alternative at input 'q'
aploetz@cqlsh>
请注意,当我提供分号 (;
) 时,它会让我返回到 cqlsh 命令提示符。然后 exit
将正常工作(即使没有分号)。
aploetz@cqlsh> exit
$
我刚刚注册了这个答案)
我在文档中找到,为此使用命令 EXIT)
只是大写
我正在学习Cassandra吧now.The问题就在这里
[cqlsh 5.0.1 | Cassandra 3.11.1 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
cqlsh> q
... quit
... HELP
... !
... EXIT
...
... quit
... !
... EXIT
...
如何退出 shell?
尝试
<control-c>exit<enter>
官网也写了退出命令...
是的,上面发生的事情是,cqlsh 认为您正在输入多行命令:
aploetz@cqlsh> q
... quit
... EXIT
... exit
... ;
Bad Request: line 1:0 no viable alternative at input 'q'
aploetz@cqlsh>
请注意,当我提供分号 (;
) 时,它会让我返回到 cqlsh 命令提示符。然后 exit
将正常工作(即使没有分号)。
aploetz@cqlsh> exit
$
我刚刚注册了这个答案) 我在文档中找到,为此使用命令 EXIT) 只是大写