Back to Yugabyte Db

Test Yedis

docs/content/stable/yedis/quick-start/binary/test-yedis.md

2026.1.0.0-b25567 B
Original Source
<!-- +++ private = true block_indexing = true +++ -->
  • Initialize the YEDIS API.

Set up the redis_keyspace keyspace and the .redis table so that this cluster becomes ready for Redis clients. Detailed output for the setup_redis command is available in the yb-ctl Reference.

sh
$ ./bin/yb-ctl setup_redis
  • Run redis-cli to connect to the service.
sh
$ ./bin/redis-cli
output
127.0.0.1:6379>
  • Run a Redis command to verify it is working.
sql
127.0.0.1:6379> PING
output
"PONG"