redis如何修改默认密码


当前第2页 返回上一页

882e367cee7be9aed8e530e5522ec79.png

登录

redis-cli.exe -h 127.0.0.1 -p 6379 -a 123456

(redis-cli.exe -h 127.0.0.1 -p 6379对应无密码服务启动,redis-cli.exe对应redis-server.exe直接启动)

查看密码

config get requirepass

52ceec698830daab45d8e3100cd7472.png

添加到Windows服务中

redis-server --service-install redis.windows.conf --loglevel verbose错误解决
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: 192.168.1.102/192.168.1.102:6379
Caused by: java.net.ConnectException: Connection refused: no further information

修改redis.windows.conf

1、protected-mode yes 改为:protected-mode no

2、注释掉 #bind 127.0.0.1

相关教程:redis数据库教程

以上就是redis如何修改默认密码的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

Redis数据过期策略详解

如何配置Redis外网可访问并只允许指定的ip可访问Redis

Redis密码管理介绍

Redis中一些常用工具介绍

ubuntu中Redis集群的安装

Redis分布式锁实现原理是什么

Redis数据库主要存什么

Redis学习主从复制master/slave

jedis和Redistemplate区别

什么是Redis

更多相关阅读请进入《Redis》频道 >>


数据库系统概念 第6版
书籍

数据库系统概念 第6版

机械工业出版社

本书主要讲述了数据模型、基于对象的数据库和XML、数据存储和查询、事务管理、体系结构等方面的内容。



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...