当前位置:网站首页>对于windows下的Redis,只能读不能写的问题
对于windows下的Redis,只能读不能写的问题
2022-07-27 05:19:00 【香香宝贝:】
问题描述:对于windows下的Redis,只能读不能写的问题
这是我的代码:
这是我的运行结果:

先开始我还在想是不是因为像他说的,缺少了映射关系,还准备增加一些配置,后来我看了终端显示:
发现她给我显示servlet.service()…READONLY You can’t write against a read only slave…
我就意识到是不是因为Redis的读写权限问题!
更改:
1)检测他是不是只有读的功能:config get slave-read-only
结果是:yes,所以他只有读的功能
2)我们让其有写功能:config set slave-read-only no
然后运行结果就正确啦!
边栏推荐
猜你喜欢

4. Tensor data type and creation tensor
![[concurrent programming series 9] priorityblockingqueue, delayqueue principle analysis of blocking queue](/img/2b/1bfadbffad33f8560357fab74e8308.png)
[concurrent programming series 9] priorityblockingqueue, delayqueue principle analysis of blocking queue

8. Mathematical operation and attribute statistics

Social media user level psychological stress detection based on deep neural network

16.过拟合欠拟合

Digital image processing Chapter 4 - frequency domain filtering

DSGAN退化网络

pytorch使用data_prefetcher提升数据读取速度

数字图像处理第五章——图像复原与重建

3. Classification problems - initial experience of handwritten digit recognition
随机推荐
13.逻辑回归
19. Up and down sampling and batchnorm
9. High order operation
Gbase 8C - SQL reference 6 SQL syntax (7)
Digital image processing Chapter 5 - image restoration and reconstruction
Global evidence of expressed sentimental alterations during the covid-19 pandemics
Rk3288 board HDMI displays logo images of uboot and kernel
DSGAN退化网络
10.梯度、激活函数和loss
Gbase 8C - SQL reference 6 SQL syntax (6)
Gbase 8C - SQL reference 6 SQL syntax (1)
Numpy基础学习
【头歌】重生之我在py入门实训中(7): 函数调用
9.高阶操作
数字图像处理 第一章 绪论
14. Example - Multi classification problem
服务器相关的指标解释
西瓜书第三章---线性模型学习笔记
leetcode系列(一):买卖股票
【11】二进制编码:“手持两把锟斤拷,口中疾呼烫烫烫”?