当前位置:网站首页>redis (error) NOAUTH Authentication required 问题分析解决
redis (error) NOAUTH Authentication required 问题分析解决
2022-08-05 13:13:00 【Azure.yao】
项目场景
Ubantu 安装 redis ,通过执行 redis-cli 客户端命令,提示 (error) NOAUTH Authentication required 错误信息,需要验证输入密码,auth 密码, 才可以执行 redis 命令
127.0.0.1:6379> auth 123456
OK
问题描述
这是因为在安装 redis 过程中将 redis 配置文件 redis.conf 中 # requirepass foobared 设置密码开启并设置了密码,这里我将密码设置成了 123456

总结
若设置 redis.conf 中 # requirepass foobared 密码属性,后续登陆得输入密码,而且密码明文写在配置文件中,一般也可以通过配置文件查看,不想输入密码验证的话,可以将redis.conf 中 # requirepass foobared 注释,重启redis 服务即可
边栏推荐
猜你喜欢

【IC5000教程】-02-使用daqIDEA图形化显示“Array数组”和“struct结构体”类型变量的值变化

RK3588+FPGA高速图像处理通信处理机解决方案

Depth Map-Based Object Detection

疫情重压下,屈臣氏为何上半年仍盈利?
![LeetCode 623 在二叉树中增加一行[BFS DFS] HERODING的LeetCode之路](/img/e1/6df6132cd030b0e32dcbdc2b41ba94.png)
LeetCode 623 在二叉树中增加一行[BFS DFS] HERODING的LeetCode之路

leetcode-每日一题623. 在二叉树中增加一行(DFS)

每秒10亿次更新、实现秒级同步延迟,腾讯深度学习推荐系统首次入选OSDI顶会

序章 调度系统架构设计总述

做个小程序商城大约多少钱?哪些方面会影响价格?

RK3568+Hongmeng Industrial Flat Panel Industrial Kanban Solution Design
随机推荐
可编程直流电源用途广泛可以满足各种直流电源的应用场景
金融交易场景下热key如何解决
pyspark实现csv文件转parquet格式(最优解决方案)
OPENCV学习DAY9
MySQL check constraint
建造者模式
FOF投资组合表现跟进(截止至2022.7.22)
Intronic Electronics IPO was terminated: annual revenue of 1 billion Shenzhen Venture Capital and Hongtu are shareholders
和为S的两个数字
DonkeyCar source code reading .4 (project file creation)
NFT card game system dapp develops NFT chain game technology
Top 10 new features in Oracle Database 19c at a glance
十分钟教会你如何使用VitePress搭建及部署个人博客站点
2022-08-03 顾宇佳 学习笔记
英创力电子IPO被终止:年营收10亿 深创投与红土是股东
RT-Thread recording (2. RT-Thread kernel startup process - startup file and source code analysis)
C进阶-数据的存储(下)
Scala安装使用
快可电子深交所上市:市值82亿 年营收7亿募资5.6亿
RK3588+FPGA high-speed image processing communication processor solution