赞
踩
运行某马点评的实战篇的时候遇见了redis连接问题;mac下载的本地redis库;结果启动服务连接的时候出问题了。ERR AUTH <password> called without any password configured for the default user.
没有截图。。。
但是有解决方案:
- HBQdeMacBook-Pro:redis-6.2.6 apple$ pwd
- /usr/local/redis-6.2.6
- HBQdeMacBook-Pro:redis-6.2.6 apple$ redis-cli
- 127.0.0.1:6379> auth password
- (error) ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct?
- 127.0.0.1:6379> config set requirepass "123321"
- OK
进入对应的本地redis包目录,输入redis-cli,然后输入auth password,然后输入config set requirepass “xxxx”。即可。
详细方案出自(某个外国网站):Redis Connection: AUTH password - w3resource
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。