Python鏈接redis

import redis

pool = redis.ConnectionPool(host='127.0.0.1',port=6379,password='123456')
r = redis.Redis(connection_pool=pool)

flushall #用於清除全部的庫全部key數據
相關文章
相關標籤/搜索