問題

鏈接Redis報錯`AUTH` failed: ERR Client sent AUTH, but no password is set [tcp://127.0.0.1:6379]

解決

啟動Redis客戶端

D:\Redis\redis-windows-master\src\msopentech\redis-64.2.8.2101>redis-cli.exe -h 127.0.0.1 -p 6379
127.0.0.1:6379> auth 123456
(error) ERR Client sent AUTH, but no password is set
127.0.0.1:6379> config set requirepass "123456"
OK
127.0.0.1:6379> auth 123456
OK
127.0.0.1:6379>

设置下这个配置密码就好了

相关文章:

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