Clear redis cache

login redis: redis-cli -h 127.0.0.1 -p 6379

check all key value: keys *

delete specify index value:del key

clear all data of whole  Redis server: flushall

 clear all key of current database: flushdb

Leave a Reply