Home > Database > Redis > body text

How to understand the Linux system connection Redis command

WBOY
Release: 2023-05-29 18:52:07
forward
915 people have browsed it

Redis can support the following connection methods: connection through client tools, connection through database management tool DMC, etc.

Connect remotely

 redis-cli -h 47.101.63.222 -p 56379
Copy after login

Connect local

 redis-cli
Copy after login

Set password

 config set requirepass pass_123456
Copy after login

Get password

 config get requirepass
Copy after login

Login

 auth pass_123456
Copy after login

The above is the detailed content of How to understand the Linux system connection Redis command. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template