問題
鏈接Redis報錯`AUTH` failed: ERR Client sent AUTH, but no password is set [tcp://127.0.0.1:6379]
解決
啟動Redis客戶端
D:Redis edis-windows-mastersrcmsopentech edis-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>
设置下这个配置密码就好了