Skip to content

Files

Latest commit

 

History

History

cassandra

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

cassandra-cheatsheet

Cassandra Client

Installing cqlsh

To install the cqlsh client on alpine linux:

apk --no-cache add python3 py3-pip
pip3 install cqlsh

Connecting to Cassandra

From the same node:

cqlsh -u user -p password

Over the network:

CQLSH_HOST=cassandra.databases CQLSH_PORT=9042 cqlsh -u user -p password

Describe Keyspaces

DESCRIBE keyspaces;