java.sql.SQLException: Access denied for user ''@'192.168.56.1' (using password: NO)

1,yml 配置数据源 连接mysql 出错:java.sql.SQLException: Access denied for user ''@'192.168.56.1' (using password: NO)

 

 

 

2,解决方案  将 data-username 的 data- 去掉

 

posted @ 2021-01-10 15:30  KwFruit  阅读(361)  评论(0编辑  收藏  举报