须要设置密码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输入你的密码