Start the main redis no problem, start from redis suddenly being given a solution NOAUTH Authentication required

 

 All rights reserved.No part of this article may be reproduced or distributed by any means,or stored in a database or retrieval system,without the prior written permission of persistenceGoing author
https://blog.csdn.net/persistencegoing/article/details/84376427

 

If we set a password on the primary server redis, namely: the use of requirepass 12345678 (password you set) in redis.windows-service.conf configuration file;
then we redis from the server configuration file redis.windows-service in .conf used in slaveof after 192.168.1.11 6379 found that: master-slave replication to fail.

Start the main redis no problem, start from redis suddenly being given a solution NOAUTH Authentication required


The solution: find the configuration file redis.conf from the redis server: masterauth <master-password> this line, and then write below this line
masterauth 12345678 (master redis server password). This time we were again to restart the main redis redis server and from the server, it is found that the master-slave replication success!
 

 

I hope we are concerned about a wave, to prevent future lost, in need can learn from each other java plus group discussion, learning routes to explore, experience sharing and job java     

Group number: 721 515 304

Guess you like

Origin blog.csdn.net/persistencegoing/article/details/92788659