java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (using password: YES)
在springboot整合druid时用yml出现上述错误,找了半天才发现是username和password的配置没有打双引号,加上就好
这里注意druid的版本号是
使用1.2.XX的配置不一样
springboot的yml配置时出现java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘ (using password:
最新推荐文章于 2023-11-02 16:30:22 发布