摘要: #encoding:utf8 import time import redis conn = redis.Redis('localhost',db=1) #连接诶数据库并使用数据库1 def insert_data(): while True: conn.lpush('key','value') 向key中增加值 time.... 阅读全文
posted @ 2017-08-20 16:43 破晓e 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 链接 https://github.com/MicrosoftArchive/redis/releases 选择版本下载 在redis目录打开cmd命令输入 redis-server.exe redis.windows.conf --maxmemory 200M 200M是数据库大小 回车后redi 阅读全文
posted @ 2017-08-20 15:44 破晓e 阅读(2373) 评论(0) 推荐(0) 编辑