1.进入redis redis-cli -h 127.0.0.1 -p 6789 2.输入密码 auth swxc,./6789 3查询库 select 1 4.查缓存 keys * 5.删除指定索引的值 del key 相关文章: