当我键入cqlsh启动cassandra shell时,cqlsh出现错误,其中cassandra服务器已经启动
Connection error: ('Unable to connect to any servers', {'127.0.0.1': ProtocolError("cql_version '3.3.1' is not supported by remote (w/ native protocol). Supported versions: [u'3.4.2']",)})我也已经安装了cassandra-driver和导出CQLSH_NO_BUNDLED=true,但没有任何改变,谁能有任何想法来解决这个问题?!!我的cassandra版本是3.6
发布于 2017-08-09 23:59:39
您的cassandra协议版本不支持您正在连接的协议版本
尝试将 --cqlversion="3.4.2" 作为参数添加到cqlsh中
bin/cqlsh --cqlversion="3.4.2"发布于 2019-04-20 18:14:17
尝试执行以下命令
sudo apt install python-pip
pip install cassandra-driver
export CQLSH_NO_BUNDLED=truehttps://stackoverflow.com/questions/45595496
复制相似问题