How to set password for redis-server

Posted by

Step 1: Run your redis-server

Step 2 : Run your redis-cli

Step 3: Check your redis password set or not for this command

config get requirepass

not set your redis password

Step 4 : So set password for this command

config set requirepass "p@ssw$rd"

After that check get value or not

Password set successful

Step 5: So press password get value and any result for this command

auth p@ssw$rd

After that value

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x