Redis use command access exception: (error) noauth authentication required

1. Why

Redis is configured with a password.

2. Methods

Use the auth command to enter the password. The rules are as follows:

auth yourPassword

Examples

auth 123456 

Then you can insert or query.

Read More: