How to set password for Redis?

后端 未结 10 1508
长发绾君心
长发绾君心 2021-01-29 19:17

I\'m working with redis on my local machine so I dont really need to set up a password to connect to the server with my php client (I\'m using predis as a client). However, I\'

10条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-29 20:12

    you can also use following command on client

    cmd :: config set requirepass p@ss$12E45

    above command will set p@ss$12E45 as a redis server password.

提交回复
热议问题