当前位置:   article > 正文

ERR AUTH <password> called without any password configured for the default user._err auth called without any password co

err auth called without any password configured for the default u

运行某马点评的实战篇的时候遇见了redis连接问题;mac下载的本地redis库;结果启动服务连接的时候出问题了。ERR AUTH <password> called without any password configured for the default user. 

没有截图。。。

但是有解决方案:

 

  1. HBQdeMacBook-Pro:redis-6.2.6 apple$ pwd
  2. /usr/local/redis-6.2.6
  3. HBQdeMacBook-Pro:redis-6.2.6 apple$ redis-cli
  4. 127.0.0.1:6379> auth password
  5. (error) ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct?
  6. 127.0.0.1:6379> config set requirepass "123321"
  7. OK

进入对应的本地redis包目录,输入redis-cli,然后输入auth password,然后输入config set requirepass “xxxx”。即可。

  详细方案出自(某个外国网站):Redis Connection: AUTH password - w3resource

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号