1.redis在Linux下的远程连接:

$ redis-cli -h host -p port -a password

 

如何连接到主机为 127.0.0.1,端口为 6379 ,密码为 mypass 的 redis 服务上?

$redis-cli -h 127.0.0.1 -p 6379 -a "mypass"
redis 127.0.0.1:6379>
redis 127.0.0.1:6379> PING

PONG

 

相关文章:

  • 2021-12-14
  • 2022-01-15
  • 2021-12-29
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-02
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
相关资源
相似解决方案