Skip to content

Commit 5ab79b2

Browse files
authored
cql shell to cqlsh (#24)
1 parent aa07d79 commit 5ab79b2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs-src/astra-cli-core/modules/ROOT/pages/managing.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2918,18 +2918,18 @@ OPTIONS
29182918
====
29192919

29202920
[#cqlsh]
2921-
== Use the CQL shell (cqlsh)
2921+
== Use cqlsh
29222922

2923-
The CQL shell (`cqlsh`) is an interface that you can use to issue xref:astra@cql:ROOT:index.adoc[{cass-short} Query Language (CQL)] commands to your database.
2924-
The {product} provides built-in CQL shell support by downloading, installing, configuring, and wapping the `cqlsh` utility.
2925-
This can act as a convenient alternative to installing and configuring a xref:astra-db-serverless:cql:develop-with-cql.adoc#connect-to-the-cql-shell[standalone CQL shell].
2923+
`cqlsh` is an interface that you can use to issue xref:astra@cql:ROOT:index.adoc[{cass-short} Query Language (CQL)] commands to your database.
2924+
The {product} provides built-in `cqlsh` support by downloading, installing, configuring, and wapping the `cqlsh` utility.
2925+
This can act as a convenient alternative to installing and configuring a xref:astra-db-serverless:cql:develop-with-cql.adoc#connect-to-the-cql-shell[standalone cqlsh].
29262926

29272927
To use `cqlsh` commands, you must have a supported version of Python installed on your system.
29282928
The underlying `cqlsh` utility requires Python 2.7 (with TLS support) or Python 3.6--3.11.
29292929
Python versions 3.12 and later are not supported.
29302930
For more details, see this https://support.datastax.com/s/article/cqlsh-may-fail-with-A-Python-installation-with-SSL-is-required-to-connect-to-a-cloud-cluster-when-connecting-to-Astra[Support article]
29312931

2932-
Use the `astra db cqlsh` command to start the CQL shell in interactive mode:
2932+
Use the `astra db cqlsh` command to start `cqlsh` in interactive mode:
29332933

29342934
[source,bash,subs="+quotes"]
29352935
----
@@ -2951,7 +2951,7 @@ token@cqlsh>
29512951
----
29522952
====
29532953

2954-
Type `exit` or `quit;` and press kbd:[Return] to exit the CQL shell.
2954+
Type `exit` or `quit;` and press kbd:[Return] to exit `cqlsh`.
29552955

29562956
The first time you use the `astra db cqlsh` command, the {product} downloads and installs the `cqlsh` utility to the {product} installation directory (`~/.astra/cqlsh-astra`).
29572957
The {product} also downloads the {scb-long} for each database you connect to and stores the {scb} zip files in the `~/.astra/scb` directory.
@@ -3649,7 +3649,7 @@ id,name,state_id,state_code,state_name,country_id,country_code,country_name,lati
36493649

36503650
. Create a table in your database to store your data.
36513651
+
3652-
.. Start the CQL shell in interactive mode:
3652+
.. Start `cqlsh` in interactive mode:
36533653
+
36543654
[source,bash]
36553655
----
@@ -3691,7 +3691,7 @@ CREATE TABLE cities_by_country (
36913691
+
36923692
This command creates a table named `cities_by_country` with the appropriate schema for the `cities.csv` dataset.
36933693
+
3694-
.. Type `exit` or `quit;` and press kbd:[Return] to exit the CQL shell.
3694+
.. Type `exit` or `quit;` and press kbd:[Return] to exit `cqlsh`.
36953695

36963696
. Load the data from the `cities.csv` file into the `cities_by_country` table that you just created in your database:
36973697
+
@@ -4123,7 +4123,7 @@ https://api.astra.datastax.com/v2/streaming/tenants/cdc-demo-tenant
41234123
----
41244124
====
41254125

4126-
. Use the xref:ROOT:managing.adoc#cqlsh[CQL shell] to create a table with a primary key column in your database.
4126+
. Use `xref:ROOT:managing.adoc#cqlsh[cqlsh]` to create a table with a primary key column in your database.
41274127
+
41284128
[source,bash]
41294129
----

0 commit comments

Comments
 (0)