Home  >  Article  >  Operation and Maintenance  >  Detailed explanation of how to set access password for Redis under win7 version (picture)

Detailed explanation of how to set access password for Redis under win7 version (picture)

黄舟
黄舟Original
2017-06-07 09:39:132816browse

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:

Redis win7版 设置访问密码0

Open the file, add the password as follows, restart the service and it will take effect:

Redis win7版 设置访问密码1

!

When accessing Redis from the Java client, add the access password:

Redis win7版 设置访问密码2

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn