当前位置:网站首页>redis常用命令总结(自备)
redis常用命令总结(自备)
2022-07-28 14:15:00 【[email protected]】
1,linux连接命令
$ redis-cli -h host -p port -a password
也可以直接redis-cli,进去时候用auth password来进行验证
2,常用命令
keys * 查询所有键;
hkeys key 获取所有的filed;
type key 获取键的类型;
hget key filed 获取filed值;
CONFIG set requirepass password #设置密码
版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_38641816/article/details/108638919
边栏推荐
- Hard disk partition method
- When MySQL uses left join to query tables, the query is slow because the connection conditions are not properly guided
- 3588. 排列与二进制
- 苹果iPhone手机APP应用图标隐藏怎么找回恢复显示在iPhone苹果手机桌面显示被隐藏的应用APP图标到iPhone苹果手机桌面?
- 21、 TF coordinate transformation (I): coordinate MSG message
- Instant experience | further improve application device compatibility with cts-d
- CCSP international registered cloud security experts set up examination rooms in China
- Foundation of knowledge atlas (II) - knowledge expression system of knowledge atlas
- 2021-09-02
- The modified network card name of rocky foundation is eth0
猜你喜欢

Introduction to mqtt protocol
![What is the difference between UTF-8, utf-16 and UTF-32 character encoding? [graphic explanation]](/img/a9/336390db64d871fa1655800c1e0efc.png)
What is the difference between UTF-8, utf-16 and UTF-32 character encoding? [graphic explanation]

MySQL authorization method

模板注入总结

经典Dijkstra与最长路

Foundation of knowledge atlas (II) - knowledge expression system of knowledge atlas

Wonderful frog -- how simple can it be to abandon the float and use the navigation bar set by the elastic box

Stack expression

Idea2020.1.4 packages package collapse

Deploy flask on Alibaba cloud server
随机推荐
Introduction to mqtt protocol
安装mosek,license安装位置查找
Solve blast database error: error pre fetching sequence data
Analysis vulnerability introduction
企业微信客服链接,企业微信客服聊天
Node.js+express realizes the operation of MySQL database
软件开发三大痛点!小程序容器如何解决?
即刻体验 | 借助 CTS-D 进一步提升应用设备兼容性
charles如何安装并使用
Repvgg paper explanation and model reproduction using pytoch
The modified network card name of rocky foundation is eth0
9、 C array explanation
Enterprise wechat customer service link, enterprise wechat customer service chat
PHP magic method
Three pain points of software development! How to solve the applet container?
CCSP 云安全设计原则都有哪些
QT hex, decimal, qbytearray, qstring data conversion
Install scikit learn journey
3438. 数制转换
SQL learning