Redis (Error) Noauth authentication required. Solution Solutions

Source: Internet
Author: User
Tags redis redis server

I found an error when I went to use Jedis to connect my redis server today.



After Baidu let me go to Redis to set the password, and then

Auth Password
  How to get into Redis server



In the Redis Bin folder, Redis-cli can go in. How to set a password for Redis server

Enter redis.conf with VI

And then

/requirepassword

Press N to find the next, you can find the following image of this line, open the # number to set the password


Actually, it's not here.

I didn't get out of the question either, listening to people say it was because of the cache.

Then I restarted the Redis server and canceled the setup password, and the connection was successfully restarted Redis server

Ps-ef | grep redis

Kill PID * * * * *

redis-server. /redis.conf

Basically this is the three commands, first kill the process is launched, and then start on the line, because I have more than one configuration file, so each boot it is best to specify which configuration file, to avoid errors.

From: http://blog.csdn.net/bug_moving/article/details/60462846

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.