Home >Database >Redis >How to understand the Linux system connection Redis command

How to understand the Linux system connection Redis command

WBOY
WBOYforward
2023-05-29 18:52:07919browse

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

Connect local

 redis-cli

Set password

 config set requirepass pass_123456

Get password

 config get requirepass

Login

 auth pass_123456

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!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete