Cassandra cqlsh “unable to connect to any servers”

前端 未结 4 1107
再見小時候
再見小時候 2021-02-02 06:53

I get the following message when executing cqlsh.bat on the command line

Connection error: (\'Unable to connect to any servers\', {\'127.0.0.1\': ProtocolError(\         


        
4条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-02 07:42

    I was facing a similar issue when I was executing bin/cqlsh. I was seeing the below error:

    Connection error: ('Unable to connect to any servers', {'cassandra-1.alpha.mimosacloud.co': ProtocolError("cql_version '3.2.0' is not supported by remote (w/ native protocol). Supported versions: [u'3.2.1']",)})
    

    My remote server was using cassandra 2.1.12 and I was trying to connect to it using the cqlsh bundeled with apache-cassandra-2.1.7. My problem was resolved when I downloaded apache-cassandra-2.1.12 from this link and used the cqlsh bundled with it.

    Details of my server are: [cqlsh 5.0.1 | Cassandra 2.1.12 | CQL spec 3.2.1 | Native protocol v3]

提交回复
热议问题