网站制作学习网Database→正文:redis windows 密码登录
字体:

redis windows 密码登录

Database 2025/3/23 11:33:47  点击:不统计

转www.载for网站制作学习asp必.cn究

 在windows11 上使用redis服务,提示 NOAUTH Authentication required.原来是设置了登录密码。
重新密码登录,下面两种方式
 
1. 登陆时 输入密码,命令行:
redis-cli -a yourpassword
比如:
   ~ redis-cli -a 123456 11:31:57
127.0.0.1:6379>
   
 
 
2. 登陆后输入密码:
redis-cli # 回车
AUTH [yourpassword]
 
比如:
   127.0.0.1:6379> auth 123456
OK
   
 
这样就可以操作redis 了。

原载于:本文原载于www.forasp.cn

·上一篇:mysql同步错误Coordinator stopped because there wer >>    ·下一篇: Got fatal error 192.xx from source when reading data from binary log >>
推荐文章
最新文章