title: Can't connect to MariaDB using JDBC, mysql utils succeed
body: <p>I use JDBC and Spring Boot 2.2.2 to connect to a MariaDB instance. The login fails with this message:</p>
  
  <blockquote>
    <p>Caused by: java.sql.SQLInvalidAuthorizationSpecException: Could not
    connect to
    address=(host=server.company.domain)(port=3306)(type=master) : Access
    denied for user 'user'@'server.company.domain' (using password:
    YES)</p>
  </blockquote>
  
  <p>When I run <code>mysqldump -u"user" -p"password" -h server.company.domain dbname</code> this works just fine !</p>
  
  <ul>
  <li>Both the dump and the Spring Boot application are run from the same machine (the database server itself)</li>
  <li>user and password used are identical</li>
  <li>there are no special characters in the password or the user (only lower/uppcase characters and digits)</li>
  <li>the jdbc connection string looks like this: <code>jdbc:mariadb://server.company.domain:3306/dbname</code></li>
  <li>I already tried to use <code>localhost</code> instead of the server name</li>
  <li>when I change jdbc url, user and password the same application is able log in to my development mariaDB</li>
  </ul>