当前位置:网站首页>对于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
然后运行结果就正确啦!
边栏推荐
猜你喜欢

导数、偏导数以及梯度

11. Gradient derivation of perceptron

剪枝-量化-转onnx中文系列教程

视觉横向课题bug1:FileNotFoundError: Could not find module ‘MvCameraControl.dll‘ (or one of it

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

18.卷积神经网络

【头歌】重生之机器学习-线性回归

12. Optimization problem practice

Numpy基础学习

维度问题以及等高线
随机推荐
模型的推理速度
17. Attenuation of momentum and learning rate
Lightroom Classic 2022 v11.4中文版「最新资源」
韦东山 数码相框 项目学习(四)简易的TXT文档显示器(电纸书)
12.优化问题实战
Gbase 8C - SQL reference 6 SQL syntax (12)
【头歌】重生之我在py入门实训中(10): Numpy
Day14. Using interpretable machine learning method to distinguish intestinal tuberculosis and Crohn's disease
西瓜书学习第五章---神经网络
Gbase 8C - SQL reference 4 character set support
[high concurrency] interviewer
18. Convolutional neural network
6. Dimension transformation and broadcasting
Day 11. Evidence for a mental health crisis in graduate education
A photo breaks through the face recognition system: you can nod your head and open your mouth, netizens
数字图像处理 第八章——图像压缩
关于pytorch反向传播的思考
[Haowen planting grass] knowledge of root domain name - Ruan Yifeng's Weblog
服务器相关的指标解释
6.维度变换和Broadcasting