个人在使用redis时出现的错误

redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set

我的解决方案:(修改密码  把所有的密码改成一致的)

第一步:

redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set

在配置文件中找到这个,这个是redis提前编入的密码。(具体不记得位置了)

第二步:

找到redis的安装目录找到这个文件

redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set

搜索: requirepass 找到密码配置位置,修改成相同的密码

redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set

第三步:

修改 redismanager 视图管理器中的密码,看是否一致,如果这三个地方一样就可以运行了

redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set

运行:

redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set

运行后是这样的:

redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set

而我之前报错时是下面的图:

redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set

希望对刚学redis的有帮助!!

 

相关文章:

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