Please note, this is a STATIC archive of website www.w3resource.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
w3resource

Redis Server: FLUSHDB

FLUSHDB

Redis FLUSHDB command is used to delete all the keys of the currently selected DB. This command never fails.

Syntax:

FLUSHDB

Available since

1.0.0.

Return Value

String reply.

Return Value Type

String

Example: Redis FLUSHDB

redis 127.0.0.1:6379> FLUSHDB 
OK

Previous: FLUSHALL
Next: INFO