Caused by: java.sql.SQLException: Could not connect: Access denied for user 'luke'@'127.0.0.1' (using password: YES) |
Current charset is UTF-8. If password has been set using other charset, consider using option 'passwordCharacterEncoding' |
上述问题的解决方法:在.pom文件中加入以下代码即可
<repositories> |
<repository> |
<id>sonatype-nexus-snapshots</id> |
<name>Sonatype Nexus Snapshots</name> |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> |
</repository> |
</repositories> |
|
<dependencies> |
<dependency> |
<groupId>org.mariadb.jdbc</groupId> |
<artifactId>mariadb-java-client</artifactId> |
<version>2.1.2</version> |
</dependency> |
</dependencies> |
原文说明:
https://jira.mariadb.org/browse/CONJ-480?focusedCommentId=96043&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-96043