Redis数据库:
    运行redis-server.exe


      方式一:设置认证密码
             1.redis   :6379> config set requirepass 你所设置的密码
              OK  
             2. auth 你所设置的密码   //权限进入
             3. redis    :6379> config get requirepass   //查看密码
                          1) "requirepass"   
                         2) "你所设置的密码"  


     方式二:设置认证密码
             在redis .windows.conf文件中添加:
                     requirepass  你所设置的密码
             再使用cmd命令运行
                       D:\Redis>redis-server.exe  redis.windows.conf   //启动服务

              Redis数据库配置,设置认证密码,启动服务

Redis数据库配置,设置认证密码,启动服务

//成功

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2021-07-12
猜你喜欢
  • 2022-02-17
  • 2021-12-06
  • 2021-08-24
相关资源
相似解决方案