Home  >  Article  >  Backend Development  >  redis - 批量插入数据后,客户端或php获取不到数据

redis - 批量插入数据后,客户端或php获取不到数据

WBOY
WBOYOriginal
2016-06-06 20:49:181465browse

自己写了一个程序向redis中批量插入数据,并且提示插入成功,可是使用smembers命令获取数据时却获取不到,没办法只好打开dump.rdb文件搜索看看,发现里面有刚刚添加的数据,但就是客户端获取不到。

回复内容:

自己写了一个程序向redis中批量插入数据,并且提示插入成功,可是使用smembers命令获取数据时却获取不到,没办法只好打开dump.rdb文件搜索看看,发现里面有刚刚添加的数据,但就是客户端获取不到。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn