首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >Redis 错误日志记录

Redis 错误日志记录

作者头像
郭顺发
发布2023-07-07 11:36:27
发布2023-07-07 11:36:27
3.2K0
举报
文章被收录于专栏:pandacode_cnpandacode_cn
WRONGPASS invalid username-password pair or user is disabled.

日志描述:用户密码错误。

解决方案:

代码语言:javascript
复制
# 设置密码为panda
config set requirepass panda
# 使用密码
auth panda

日志输出 OK ,便成功。

(error) 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.

日志描述:(错误)misconf redis被配置以保存数据库快照,但misconf redis目前不能在硬盘上持久化。用来修改数据集合的命令不能用,请使用日志的错误详细信息。

原因:这是由于强制停止redis快照,不能持久化引起的,运行info命令查看redis快照的状态

解决方案:

连接redis后运行 config set stop-writes-on-bgsave-error no 命令

关闭配置项stop-writes-on-bgsave-error解决该问题。

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022-07-01 ,如有侵权请联系 cloudcommunity@tencent.com 删除
目录
  • WRONGPASS invalid username-password pair or user is disabled.
  • (error) 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.
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档