原文:Error updating database. Cause: java.sql.SQLException: Access denied for user '${username}'@'localhost' (using password: YES)

导入别人的项目,出现一个错误,经过排查,是db.properties配置文件中的用户名与Mybatis conf.xml配置文件中调用的用户名不一致所导致的 db.properties中用的是name,而调用时用的确实username ,即 username ,只要把配置文件中的name改为username即可。 截图如下: ...

2018-02-08 17:36 0 8019 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM