redis客户端连接(error) NOAUTH Authentication required |
您所在的位置:网站首页 › redis密码错误 › redis客户端连接(error) NOAUTH Authentication required |
redis客户端连接成功,但是操作报异常——(error) NOAUTH Authentication required 错误的含义是说你没有认证,说明没有使用密码连接 查看密码:进入redis的安装目录(是安装目录的),查看redis.config文件 vi redis.config1打开配置文件后,输入/#requirepass foobared(快速定位的命令) 然后回车 红框里的就是密码 使用密码连接 ./redis-cli -h 127.0.0.1 -p 6379 -a Passw0rd1再操作就没问题了 (adsbygoogle = window.adsbygoogle || []).push({}); |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |