当前位置:网站首页>对于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
然后运行结果就正确啦!
边栏推荐
- Digital image processing Chapter 5 - image restoration and reconstruction
- pytorch使用data_prefetcher提升数据读取速度
- SoK: The Faults in our ASRs: An Overview of Attacks against Automatic Speech Recognition (题目过长)阅读笔记
- 【头歌】重生之我在py入门实训中(7): 函数调用
- 子类调用父类构造函数的时机
- Gbase 8C - SQL reference 6 SQL syntax (4)
- Public opinion & spatio-temporal analysis of infectious diseases literature reading notes
- cycleGAN解析
- 韦东山 数码相框 项目学习(四)简易的TXT文档显示器(电纸书)
- 【11】二进制编码:“手持两把锟斤拷,口中疾呼烫烫烫”?
猜你喜欢

6.维度变换和Broadcasting

Auto Encoder(AE),Denoising Auto Encoder(DAE), Variational Auto Encoder(VAE) 区别

超强远程连接管理工具:Royal TSX

19. Up and down sampling and batchnorm

Global evidence of expressed sentimental alterations during the covid-19 pandemics

12.优化问题实战

能替代ps的修图软件?

cycleGAN解析

关于pytorch反向传播的思考

数字图像处理——第六章 彩色图像处理
随机推荐
导数、偏导数以及梯度
A photo breaks through the face recognition system: you can nod your head and open your mouth, netizens
Numpy基础学习
LaTeX中多个公式公用一个序号时
Auto Encoder(AE),Denoising Auto Encoder(DAE), Variational Auto Encoder(VAE) 区别
韦东山 数码相框 项目学习(三)freetype的移植
17. Attenuation of momentum and learning rate
7. Merger and division
【头歌】重生之我在py入门实训中(4):循环程序
Gbase 8C - SQL reference 5 full text search
socket编程一:使用fork()实现最基础的并发模式
Gbase 8C - SQL reference 6 SQL syntax (1)
Numpy basic learning
方差与协方差
10.梯度、激活函数和loss
17.动量与学习率的衰减
【头歌】重生之CNN图片分类基础
16.过拟合欠拟合
cycleGAN解析
Digital image processing -- Chapter 9 morphological image processing