redisIf you do not set the access password, the error will be reported as follows:
【redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required.】
Set the password as follows:
Under the installation path, Find the specified file:
Open the file, add the password as follows, restart the service and it will take effect:
!
When accessing Redis from the Java client, add the access password:
The above is the detailed content of Detailed explanation of how to set access password for Redis under win7 version (picture). For more information, please follow other related articles on the PHP Chinese website!