Use the command line to clean redis cache in Windows environment
1. Enter cmd in the redis installation directory Study: Redis video tutorial)
2. redis-cli -p port number
3. flushdb Clear the current database cache
4. Flushall Clear all redis caches
Just right-click on the client:
The above is the detailed content of How to clear cache data in redis. For more information, please follow other related articles on the PHP Chinese website!