How do I delete everything in Redis?

前端 未结 22 972
无人共我
无人共我 2020-11-28 17:18

I want to delete all keys. I want everything wiped out and give me a blank database.

Is there a way to do this in Redis client?

22条回答
  •  醉梦人生
    2020-11-28 17:48

    You can use FLUSHALL which will delete all keys from your every database. Where as FLUSHDB will delete all keys from our current database.

提交回复
热议问题