Cassandra cqlsh “unable to connect to any servers”

前端 未结 4 1112
再見小時候
再見小時候 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:28

    You can force cqlsh to use a specific cql version using the flag

    --cqlversion="#.#.#"

    Example cqlsh usage (and key/values):

    cqlsh 12.34.56.78 1234 -u username -p password --cqlversion="3.2.0"
    cqlsh (IP ADDR)  (PORT)  (DB_USERN)  (DB_PASS)               (VER)
    

提交回复
热议问题