Use the CQL console to interact with the databases in your datacenter

Mission Control allows you to use the CQL console in the UI to interact with the databases in your datacenter using the Cassandra Query Language (CQL). The CQL console is a web-based interface that provides a way to execute CQL commands and view the results.

You can use the CQL console to execute any supported CQL commands against your database, for example to create keyspaces or insert data. For a list of available commands, see the CQL shell commands reference in the Hyper-Converged Database (HCD), DataStax Enterprise (DSE), or Apache Cassandra® documentation.

Connect to the CQL console

  1. In the Mission Control UI navigation menu, select your project, and then select your database cluster.

  2. Click CQL Console.

  3. Select your datacenter from the list of available datacenters.

  4. Enter your username and password.

Download the CQL command line shell

You can download the CQL command line shell (cqlsh) utility on your local machine to interact with your database cluster using CQL commands outside of the Mission Control UI.

To download the cqlsh utility from the Mission Control UI, do the following:

  1. In the Mission Control UI navigation menu, select your project, and then select your database cluster.

  2. Click CQL Console.

  3. Click Download Command Line Shell. The DataStax downloads page opens in a new browser tab.

  4. Select your database Version from the list of available versions, and then select the option to agree to the terms of the license agreement.

  5. Click Download. The cqlsh package downloads to your local machine.

  6. Start the cqlsh tool. For more information, see Starting the cqlsh tool in the HCD, DSE, or Cassandra documentation.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com