centos 系统 Redis清除缓存

 时间:2024-10-21 10:41:17

1、putty远程登录centos系统

2、查看Redis是否运行 : ps aux|grep redis

centos 系统 Redis清除缓存

3、查看Redis所处位置:whereis redis

centos 系统 Redis清除缓存

4、切换的Redis的bin目录所在位置:cd /usr/local/redis/bin/进入到Redis数据库命令操作模式:./redis-cli -h 127.0.0.1 -p 6379

centos 系统 Redis清除缓存

5、清除缓存:flushall提示失败:(error) NOAUTH Authentication required.

centos 系统 Redis清除缓存

6、用密码登录数据库:auth Redis数据库密码

centos 系统 Redis清除缓存

7、再次清除缓存:flushall

centos 系统 Redis清除缓存
  • number对象如何使用type属性?
  • 未婚未育怎么办计生证明
  • 浏览器中,怎么自动匹配表单中的用户名和密码?
  • 大学怎么分宿舍
  • 铁锰超标危害及处理
  • 热门搜索
    qq字体怎么改 来的笔顺怎么写 调音器怎么用 腿酸怎么办 痱子怎么办 二级路由器怎么设置 挤完痘痘后怎么处理 九牧卫浴怎么样 金毛犬怎么看纯不纯 痘印怎么去