当前位置:网站首页>Redis connection error: err client send auth, but no password is set 2 solutions
Redis connection error: err client send auth, but no password is set 2 solutions
2022-06-22 05:38:00 【fastjson_】
Project use jedis or redisson Connect redis when , If redis No password , But write in the configuration file as
spring:
redis:
database: 0
host: 127.0.0.1
password:
port: 6379
timeout: 10000It's usually wrong : ERR Client sent AUTH, but no password is set
Cause analysis : Just translate the above words , The client has auth authentication , But no password is set .
Solution 1 :
stay redis In profile redis.conf Join in :
requirePass: Your password Solution 2 :
Put the above configuration into password One line removed , Since there is no password , Don't write .
spring:
redis:
database: 0
host: 127.0.0.1
port: 6379
timeout: 10000Plan two is the fundamental , Since there is no password , Don't write . Write a password, There is no password in the back , Of course, you should report an error .
边栏推荐
猜你喜欢

Learning method 3 for promotion of large enterprises: chain learning method

总有人问我:独立站该怎么玩?3个案例,你看完就懂了

Key points of Facebook account "unsealing, anti sealing and maintaining ID" have been collected!

JS regular expression to implement the thousands separator

Does the air valve perform the en 1634-1 fire resistance test for 4 hours?

Remove then add string from variable of Makefile

在线文本代码对比工具
![P1061 [NOIP2006 普及组] Jam 的计数法](/img/53/7ca41b2ed4084f49ebcc2dd47e5919.png)
P1061 [NOIP2006 普及组] Jam 的计数法

想投放Facebook广告却不知从何入手?此文带你深入了解

P1160 queue arrangement
随机推荐
Remove then add string from variable of Makefile
移动端布局适配
强制删除 Terminating 状态的 namespace
2022 Shanxi secondary vocational group "Cyberspace Security" event module b- web page penetration
Facebook账户 “ 解封、防封、养号 ” 知识要点,已收藏!
open source hypervisor
P1077 [NOIP2012 普及组] 摆花
我不建议你工作太拼命
It's 2022. Don't you hurry to learn typescript?
P1077 [noip2012 popularization group] flower display
Opencv function usage details 1~10, including code examples
OPTEE notes
Does the air valve perform the en 1634-1 fire resistance test for 4 hours?
《双内核实时系统下各个进程间通信方法的性能分析和测试》
Research Report on global and Chinese active Ethernet access device industry demand trend and investment prospect 2022-2027
Current market situation analysis and investment analysis prospect report of global and Chinese ceramic capacitor industry 2022-2027
跨境政策频调整 “ 独立站&平台 ” 哪个才是趋势所在?
nacos server 源码运行实现
Some templates about bisection
【云原生】2.2 kubeadm创建集群