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\'
using redis-cli:
root@server:~# redis-cli 127.0.0.1:6379> CONFIG SET requirepass secret_password OK
this will set password temporarily (until redis or server restart)
test password:
root@server:~# redis-cli 127.0.0.1:6379> AUTH secret_password OK