redis启动,报如上的错误,经查验,是由于redis服务未设置密码导致,有以下两种解决方式:
1,网上的方式(没试过),https://blog.csdn.net/rchm8519/article/details/48347797
2,修改代码,
由pool = new JedisPool(config, ADDR, PORT, TIMEOUT, AUTH); 改为
pool = new JedisPool(config, ADDR,PORT,TIMEOUT);,弃用auth
redis启动,报如上的错误,经查验,是由于redis服务未设置密码导致,有以下两种解决方式:
1,网上的方式(没试过),https://blog.csdn.net/rchm8519/article/details/48347797
2,修改代码,
由pool = new JedisPool(config, ADDR, PORT, TIMEOUT, AUTH); 改为
pool = new JedisPool(config, ADDR,PORT,TIMEOUT);,弃用auth