Devin.KR

NOAUTH Authentication required [redis-cli]

개발자 조회 3770

The error message "NOAUTH Authentication required" typically indicates that the Redis server requires authentication before allowing any commands to be executed. This is a security feature to prevent unauthorized access.


To authenticate with the Redis server using the redis-cli tool, you need to provide the correct password or authentication token. You can do this by using the -a or --pass option followed by the password when invoking redis-cli:


redis-cli -a your_password

Replace your_password with the actual password required for authentication. After providing the correct password, you should be able to execute commands against the Redis server using redis-cli.



refer> redis.conf.  requirepass


 redis-cli

127.0.0.1:6379 > AUTH [yourpassword]

댓글 0

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

댓글을 남기려면 로그인이 필요합니다.