redis - 无法加载 key : scan commands not supported by redis server

标签 redis spring-data-redis

我正在开发 Windows 版本的 Redis 服务器。版本是 redis-2.4.5-win32-win64

我已经启动了redis服务器:

[4748] 14 Jul 19:12:32 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf' [4748] 14 Jul 19:12:32 * Server started, Redis version 2.4.5

当我尝试连接到 Redis 服务器时,出现以下错误。

enter image description here

Redis 桌面版本为:0.9.3.817

最佳答案

从Redis的文档来看,SCAN命令是从2.8.0开始可用的。但是你的 Redis 版本比这个版本旧,所以你不能在你的环境中使用 SCAN 命令。

财政年度:Redis Scan Command Documentation

关于redis - 无法加载 key : scan commands not supported by redis server,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51341404/

相关文章:

serialization - Spring-data-redis @Cacheable java.lang.ClassCastException : java. util.HashMap 无法转换为 java.lang.String

spring-cache - Spring Cache with Redis - 如何在与 Redis 连接失败的情况下优雅地处理甚至跳过缓存

redis - 在 Redis 中提供什么方法​​来保证数据持久性?

ruby-on-rails - 在 RSpec 中测试 Resque + Redis

java - Spring +Redis+Mysql : cache strategy

RedisTemplate执行get vs multiget性能差异

c# - Redis ID :xyz is a set of all keys in urn:xyz - no grooming

spring - @Cacheable注解的value和cacheName参数的区别

node.js - 使用 socket.io 中的对象

java - 无法在 Spring Data Redis 中管道化 EVALSHA 命令