随笔分类 - redis
redis 使用中的小总结
摘要:1、连接到 redis 服务 <?php //连接本地的 Redis 服务 $redis =newRedis(); $redis->connect('127.0.0.1',6379); echo "Connection to server sucessfully";//设置 redis 字符串数据
阅读全文
摘要:windows下安装Redis第一次启动报错: [2368] 21 Apr 02:57:05.611 # Creating Server TCP listening socket 127.0.0.1:6379: bind: No error 解决方法:在命令行中运行 redis-cli.exe 12
阅读全文