为了账号安全,请及时绑定邮箱和手机立即绑定

数据库连接错误

Exception in thread "main" org.apache.ibatis.exceptions.PersistenceException: 

### Error querying database.  Cause: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)

### The error may exist in sqlxml/User.xml

### The error may involve User.queryUserList

### The error occurred while executing a query


正在回答

3 回答

和我一样,数据库连不上,注释掉查询就正常

0 回复 有任何疑惑可以回复我~

密码改一下。

0 回复 有任何疑惑可以回复我~

用户名密码不对 ,另外检查你的xml

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

数据库连接错误

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号