3

I have an error with cqlsh when I type cqlsh to start cassandra shell where cassandra server is already started this error appears

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']",)})

I also already installed cassandra-driver and export CQLSH_NO_BUNDLED=true but nothing changes could anyone have any idea to solve this ?!! my cassandra version is 3.6

Eman
  • 111
  • 1
  • 4
  • 14

2 Answers2

7

The protocol version you are connecting is not supported by the version of your cassandra's protocol

Try adding --cqlversion="3.4.2" as argument in cqlsh

bin/cqlsh --cqlversion="3.4.2"
Ashraful Islam
  • 12,470
  • 3
  • 32
  • 53
0

Try following commands

sudo apt install python-pip
pip install cassandra-driver
export CQLSH_NO_BUNDLED=true
Mauran
  • 141
  • 1
  • 8