0

Error: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLNonTransientConnectionException: (conn=6037539) Client does not support authentication protocol requested by server; consider upgrading MySQL client

Mariadb Client I am using:

<dependency>
  <groupId>org.mariadb.jdbc</groupId>
  <artifactId>mariadb-java-client</artifactId>
  <version>3.1.0</version>
</dependency>

Connection String:

jdbc:mariadb://myremoteserverhost:3306/MY_DATABASE

driver-class-name: org.mariadb.jdbc.Driver

I am using a spring boot application using maven as a build tool.

Can anyone help me solve this why the spring boot application using the mentioned jdbc client cannot make a connection to the database.



I am expecting a successfull connection made to the database

0 Answers0