1. 程式人生 > >redis啟動問題:ERR Client sent AUTH, but no password is set

redis啟動問題:ERR Client sent AUTH, but no password is set

現象:ERR Client sent AUTH, but no password is set

明明在redis.windows.conf配置檔案中設定了密碼,而且redis還啟動了,為什麼說沒有密碼呢?

原因:你用cmd啟動redis的時候是這樣的:redis-server 並沒有帶上你的配置檔案:redis.windows.conf

正確啟動:redis-server redis.windows.conf