How to Clear Redis Cache in BT Panel
- Published
- Views
- 90
- Comments
- 0
- Words
- 59
This post was translated from Chinese by AI. If anything reads oddly, the Chinese original is authoritative. 中文原文
1、First, go to the Redis directory, usually: www/server/redis
2、Then open a terminal and connect to Redis: redis-cli -h 127.0.0.1 -p 6379
3、List all keys: keys *
4、Delete a specific key: del key
5、Clear all data on the Redis server: flushall
6、Clear all keys in the current database: flushdb
Last updated 2024-01-14
Comments 0