The Cassandra Shell
Explore the Cassandra shell cqlsh, and practice executing basic cqlsh commands.
In this lesson, we will cover the Cassandra shell cqlsh
, a command-line interface, provided by Apache Cassandra, which comes installed, located in the bin/
directory. cqlsh
uses Python native protocol driver to connect with a Cassandra node and execute CQL
commands.
To start the CQL shell, type cqlsh
once the cluster is up and running. To connect to a specific host, specify the IP address and port after the cqlsh
keyword. In the absence of a port, the default port 9042 is used for the connection.
Get hands-on with 1300+ tech skills courses.