1, installed in Windows first download Cygwin, in accordance with the book operation can be. For net.c files, refer to http://my.oschina.net/maxid/blog/186506 for modification. can then start normally. 2, command line (1) Send command: Open Redis-server.exe, directly in the Redis-cli.exe command line operation.? (2) command return value: ①: Status Reply 127 ... (after omitting writing) >ping Pong②: Error reply 127. .. >errorcommand (Error) ERR unknown command ' errorcommand ' ③: integer reply 127...>incr foo<integer> 2?④: String Reply 127 ... >get foo "1"? If the key value does not exist, it is displayed as (nil) 127...>get noexists (nil) ⑤: Multi-line string reply 3, multi-database? Redis default support 16 databases, you can choose, the default automatically select No. 0 database? (1): Custom database names are not supported and can only be named by number. (2): Setting access password for each database is not supported. Either you can access it all, or you can't access it. (3): Multiple databases are not completely isolated, like a namespace, and are not suitable for storing data from different applications. For example, the Flushall command clears all data from a Redis instance. Different applications should use different Redis instances to store data. (4): Redis is very lightweight, and an empty Redis instance consumes only about 1MB of memory, without worrying that multiple instances will consume a lot of memory.
Redis__20150616__windows in the installation __ command line __ Multiple databases