- 没想到竟然只是因为 Druid.properties中的数据库用户名用了username:root
- spring.xnl 中读取username 使用${username}取值 ,但是这个取值默认为是取当前系统的
- 用户名 也就是Administrator 是你的电脑用户名 所以连接不上很正常!
- http://blog.youkuaiyun.com/yuan882696yan/article/details/77345374
关于Access denied for user 'Administrator'@'localhost' (using password: YES)的错误
最新推荐文章于 2023-03-11 17:17:42 发布
本文解决了一个关于Spring框架中使用Druid作为数据库连接池时遇到的问题。具体问题出现在配置文件Druid.properties中,由于错误地使用了`${username}
700

被折叠的 条评论
为什么被折叠?



