版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/WYpersist/article/details/81233348
Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set
这种方式启动 默认无密码 ,
如果在写java redis 是传参数 就会造成异常 Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set
然后在这个文件下,添加:requirepass 123456 注意 123456是你redis的密码
不同版本,名称不一样
博客会不断更新和改进,欢迎大佬关注