Launch redis-cli in Terminal
Type in "redis-cli" from your terminal to enter the Redis console. This is necessary to run the Redis command.
redis-cli
Command to Clear Redis Data
To clear data of a Redis cluster instance, you can run "FLUSHDB" or "FLUSHALL" command in every machine instance otherwise data might not be completely cleared.
FLUSHDB FLUSHALL
Leave a reply