AttentionThis page documents an earlier version. Go to the latest (v2.1)version.
- Run cqlsh to connect to the service.
You can do this as shown below.
$ ./bin/cqlsh localhost
Connected to local cluster at 127.0.0.1:9042. [cqlsh 5.0.1 | Cassandra 3.9-SNAPSHOT | CQL spec 3.4.2 | Native protocol v4] Use HELP for help. cqlsh>
- Run a cql command to verify it is working.
cqlsh> describe keyspaces;
system_schema system_auth system cqlsh>