須要設置密碼redis
redis-cli -p 6379 config set requirepass xxx //xxx爲你的面
2.MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.bash
緣由:強制關閉Redis快照致使不能持久化ui
解決方法:code
config set stop-writes-on-bgsave-error no
3.NOAUTH Authentication requiredhtm
緣由:沒有認證,說明沒有使用密碼鏈接blog
redis-cli -h 127.0.0.1 -p 6379 -a Password // password輸入你的密碼