Home > Database > Redis > How to clear cache data in redis

How to clear cache data in redis

(*-*)浩
Release: 2019-11-21 15:14:31
Original
6923 people have browsed it

How to clear cache data in redis

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

How to clear cache data in redis

Just right-click on the client:

How to clear cache data in redis

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template