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!