Linux Command Error: Redis (error) NOAUTH Authentication required

The authentication problem occurs because redis has set the authentication password
after startup, enter the following command:> auth yourpassword

My password is redis123> set name hello
(error) NOAUTH Authentication required.> (error) NOAUTH Authentication required.
(error) ERR unknown command '(error)'> auth redis123

Redis can be operated normally.

Read More: