How do I delete everything in Redis?

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

    i think sometimes stop the redis-server and delete rdb,aof files。 make sure there’s no data can be reloading. then start the redis-server,now it's new and empty.

提交回复
热议问题