怎么select 到某个db啊,如果是单机模式的时候。 bool bRet = redisclient.ConnectRedis("127.0.0.1", 6379, 4); redisclient.RedisCommand(result, "select %d", 1); // 1. RedisResult result; redisclient.RedisCommand(result, "set %s %s", "key", "hello"); //2 这里的1和2 ,应该是不同的2个redis连接对象吧?