需要設置密碼
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.
原因:強制關閉Redis快照導致不能持久化
解決方法:
config set stop-writes-on-bgsave-error no
3.NOAUTH Authentication required
原因:沒有認證,說明沒有使用密碼連接
redis-cli -h 127.0.0.1 -p 6379 -a Password // password輸入你的密碼