Redis – Server Flushall Command

  • Post author:
  • Post category:Redis
  • Post comments:2 Comments

Redis FLUSHALL deletes all the keys of all the existing databases, not just the currently selected one. This command never fails.

Return Value

String reply.

Syntax

Following is the basic syntax of Redis FLUSHALL command.

redis 127.0.0.1:6379> FLUSHALL 

Example

redis 127.0.0.1:6379> FLUSHALL  
OK

This Post Has 2 Comments

Leave a Reply