Access denied for user XX

Posted feifei-cyj

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Access denied for user XX相关的知识,希望对你有一定的参考价值。

技术图片

 解决方法:将pom.xml中的mysql-connector-java降低版本(直接去maven仓库复制:https://mvnrepository.com/,比如:

<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.4</version>
</dependency>

以上是关于Access denied for user XX的主要内容,如果未能解决你的问题,请参考以下文章

ERROR 1142 (42000): GRANT command denied to user ** 或 ERROR 1045 (28000): Access denied for user 

[乐意黎原创] android studio里 remote: HTTP Basic: Access denied fatal: Authentication failed for XX的解决记录

ERROR 1045 (28000): Access denied for user ‘root‘@

MySql access denied for user错误

ERROR 1045 (28000): Access denied for user ‘roort‘

Mysql Access denied for user 'root'