How do I delete everything in Redis?

前端 未结 22 985
无人共我
无人共我 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:39

    redis-cli -h -p flushall

    It will remove all data from client connected(with host and port)

提交回复
热议问题