Redis:ERR Client sent AUTH, but no password is set

来源:互联网 发布:百度贴吧网络连接失败 编辑:程序博客网 时间:2024/05/01 23:22


redis:Could not get a resource from the pool


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


连接数据库时,password为空,而且向接口中传递了这个空的password,就会出现这个问题。

解决方案:把接口中的password变量删除。

0 0
原创粉丝点击