Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CQLSH ProtocolError

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

like image 580
Eman Avatar asked Jun 17 '26 21:06

Eman


1 Answers

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"
like image 82
Ashraful Islam Avatar answered Jun 20 '26 11:06

Ashraful Islam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!