
redis
文章平均质量分 53
渊澄
这个作者很懒,什么都没留下…
展开
-
Redis aof/rdb/auth/主从复制失效 Warning: no config file specified, using the default config
背景描述在学习redis的过程中,发现配置好redis.conf的dir后仍然不能实现数据持久化,始终不能生成dump.rdb 和appendonly.aof,后续在学习主从复制的过程中,配置好replicaof masterip maserport后仍然不能够实现主从复制。此外,配置的requirepass 也失效了,无需通过auth即可操作redis.注意在后文的描述中,省略了redis.conf的所有配置,如bind,requirepass,replicaof,masterauth,关于这些配置原创 2022-02-28 10:46:44 · 2235 阅读 · 0 评论 -
redis Desktop Manager 报错:The proxy type is invalid for this operation
问题描述安装好redis desktop manager(版本为0.9.3.817)后,尝试连接虚拟机中的redis,报错: Connection: Disconnect on error: Connection error: The proxy type is invalid for this operation解决方案关闭了本地的代理服务器,然后马上就好了...原创 2022-02-24 16:10:52 · 6697 阅读 · 6 评论 -
springboot整合redis:RedisConnectionException: Unable to connect to localhost:6379
背景描述在整合springboot整合redis过程中,已完成的前序工作有:本机idea的工程内增加pom依赖 <!-- 引入redis依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifact原创 2022-02-24 12:44:28 · 9121 阅读 · 0 评论