How to empty a Redis Database?
The following two commands can be used to empty the database.
- FLUSHDB:- Removes all the data from the database which the user is currently using.
Syntax:- redis-cli flushdb
- FLUSHALL:- Removes the data from all the databases.
Suggest An Answer
No suggestions Available!