Back to Yugabyte Db

Explore Ycql

docs/content/stable/quick-start/explore/docker/explore-ycql.md

2026.1.0.0-b25496 B
Original Source
<!-- +++ private = true block_indexing = true +++ -->

Run ycqlsh to connect to the service as follows:

sh
$ docker exec -it yb-tserver-n1 /home/yugabyte/bin/ycqlsh yb-tserver-n1
output
Connected to local cluster at 127.0.0.1:9042.
[ycqlsh 5.0.1 | Cassandra 3.9-SNAPSHOT | CQL spec 3.4.2 | Native protocol v4]
Use HELP for help.
ycqlsh>

Run a YCQL command to verify it is working.

cql
ycqlsh> describe keyspaces;
output
system_schema  system_auth  system

ycqlsh>