解決springboot項目啓動時redis報錯:ERR Client sent AUTH, but no password is set 的問題

首先看下我springboot配置redis的部分如圖: 顯然上面配置了redis的啓動密碼爲123456, 本地redis版本爲3.0.1 在redis.windows.conf文件中requirepass內容也修改了密碼爲123456,這裏說下,在去除requirepass前面的#號時一定注意還有一個空格要去除,不然會報錯:Invalid argument during startup: un
相關文章
相關標籤/搜索