解决问题redis问题:ERR Client sent AUTH, but no password is set
来源:互联网 发布:手机淘宝网社区在哪里 编辑:程序博客网 时间:2024/05/17 20:26
是的,这又是一个坑爹的问题。
明明在redis.conf中设置了密码,而且redis还启动了,为什么说没有密码呢?
大家都知道linux下启动redis有很多种方法,
其中有 ./redis-server &
这种方法启动,不会带上你的redis.conf配置文件启动
还有 ./redis-server ../redis.conf
这种方法启动的时候,会去带上配置文件redis.conf
上面的问题 ERR Client sent AUTH, but no password is set 。我遇到过一次,原因是我大意了,我用了第一种方式启动,
这个时候redis是没有密码的,但是我的redis配置文件中配置了密码,所以当我在set值的时候就报这个错误了。
所以如果你配置了redis.conf这个文件,那么启动redis的时候也一定要带上这个文件启动。我以后一定要细心,大家也一定要细心,共勉。
阅读全文
0 0
- 解决问题redis问题:ERR Client sent AUTH, but no password is set
- 解决问题redis问题:ERR Client sent AUTH, but no password is set
- Redis:ERR Client sent AUTH, but no password is set
- ERR Client sent AUTH,but no password is set
- JedisDataException: ERR Client sent AUTH, but no password is set
- redis异常解决:jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set
- redis异常解决:jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set
- redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set
- redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set
- 连接redis报此错误:ERR Client sent AUTH, but no password is set
- 连接redis报此错误:ERR Client sent AUTH, but no password is set
- Redis中 ERR Client sent AUTH, but no password is set异常
- redis异常解决:jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set
- redis异常解决:jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set
- Java链接Redis时出现 “ERR Client sent AUTH, but no password is set” 异常的原因及解决办法
- Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password
- Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password
- password change required but no tty available
- 【神经网络和深度学习】笔记
- VUE做的价格计算器.html
- 支付宝支付
- CSS+DIV三种布局方式
- 3、python web方向Django新手入门—views与urls篇
- 解决问题redis问题:ERR Client sent AUTH, but no password is set
- Linux用户及文件权限管理
- android系统日志的输出方式
- 数论模板总结
- react-hot-loader记录
- java中main函数解析
- 自定义CheckBox样式
- ios添加删除查看相册或拍照图片实现
- 数据库中悲观锁和乐观锁