Mybatis笔记
Mybatis配置错误记录
Error querying database. Cause: java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (using password: YES)
Cause: java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (using password: YES)
原因:SqlMapconfig.xml数据库密码设置错误
原密码为root,改为正确的后 运行正常