WINDOWS REDIS modified Requirepass does not take effect;

Source: Internet
Author: User

Scenario: Just contact with Redis, think about the various aspects of Redis API to do some experimenting, and then encounter some confusing things; the first login does not require a password, the information is found, the configuration file is changed, the reboot is not useful; it can still be connected;

Solve:

231081694 (Linux operation and Maintenance House), Shenzhen, Ronin (361***917) gave me a proposal, is not the correct loading of the configuration file;

Then I renamed the Config file, restarted it, re-connected it, found that I could still log in, and executed the command; this does not use this configuration file I think;

Further confirmation; I set the password by command; the command prompt does not have permission, because the Redis password is clear text; I go to the Redis configuration file and see that there is still no change;

Try again: with this diagram;

When it starts, it prompts me; a default config is used; The config that I think is not used;

Then the solution:

Follow the configuration file path at boot time;

For example:

  

This means that the password is in effect;

Thank you: 231081694 (Linux operation and Maintenance House) and Shenzhen, Ronin (361***917)

WINDOWS REDIS modified Requirepass does not take effect;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.