服务器重启后jedis连接密码失效问题

redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

...异常体...

Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set

重启服务器后就可能造成这个异常

算是小bug吧,重新设置下密码就好了

config set requirepass xxxx

猜你喜欢

转载自blog.csdn.net/qq_37580283/article/details/80945068
今日推荐