You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by er...@apache.org on 2022/05/31 08:36:27 UTC

[cassandra-website] branch trunk updated: DOC - Fixed CQL version for Docker cqlsh command in Quickstart guide

This is an automated email from the ASF dual-hosted git repository.

erickramirezau pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git


The following commit(s) were added to refs/heads/trunk by this push:
     new c01fd28b DOC - Fixed CQL version for Docker cqlsh command in Quickstart guide
c01fd28b is described below

commit c01fd28b82a69d166f8661c7115ace37c8bd4da4
Author: Erick Ramirez <er...@apache.org>
AuthorDate: Tue May 31 07:03:23 2022 +0000

    DOC - Fixed CQL version for Docker cqlsh command in Quickstart guide
    
    patch by Sathyanarayanan Saravanamuthu, Erick Ramirez; reviewed by Erick Ramirez for CASSANDRA-17486
    
    Co-authored by: Sathyanarayanan Saravanamuthu <sa...@outlook.com>
    Co-authored by: Erick Ramirez <er...@gmail.com>
---
 site-content/source/modules/ROOT/pages/quickstart.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/site-content/source/modules/ROOT/pages/quickstart.adoc b/site-content/source/modules/ROOT/pages/quickstart.adoc
index fd8f69f3..decd99d0 100644
--- a/site-content/source/modules/ROOT/pages/quickstart.adoc
+++ b/site-content/source/modules/ROOT/pages/quickstart.adoc
@@ -90,7 +90,7 @@ The CQL shell, or cqlsh, is one tool to use in interacting with the database. We
 [source]
 --
 
-docker run --rm --network cassandra -v "$(pwd)/data.cql:/scripts/data.cql" -e CQLSH_HOST=cassandra -e CQLSH_PORT=9042 nuvo/docker-cqlsh 
+docker run --rm --network cassandra -v "$(pwd)/data.cql:/scripts/data.cql" -e CQLSH_HOST=cassandra -e CQLSH_PORT=9042 -e CQLVERSION=3.4.5 nuvo/docker-cqlsh 
 
 --
 Note: The cassandra server itself (the first docker run command you ran) takes a few seconds to start up. The above command will throw an error if the server hasn't finished its init sequence yet, so give it a few seconds to spin up.
@@ -107,7 +107,7 @@ Much like an SQL shell, you can also of course use CQLSH to run CQL commands int
 
 [source]
 --
-docker run --rm -it --network cassandra nuvo/docker-cqlsh cqlsh cassandra 9042 --cqlversion='3.4.4' 
+docker run --rm -it --network cassandra nuvo/docker-cqlsh cqlsh cassandra 9042 --cqlversion='3.4.5' 
 --
 
 This should get you a prompt like so:
@@ -115,7 +115,7 @@ This should get you a prompt like so:
 [source]
 --
 Connected to Test Cluster at cassandra:9042.
-[cqlsh 5.0.1 | Cassandra 3.11.10 | CQL spec 3.4.4 | Native protocol v4]
+[cqlsh 5.0.1 | Cassandra 4.0.4 | CQL spec 3.4.5 | Native protocol v5]
 Use HELP for help.
 cqlsh>
 --


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org