title: Cannot create connection:Could not connect: Client does not support authentication protocol requested by server
body: <p>I am getting the below error while getting the connection from maria db:</p>
  
  <pre><code>DEBUG com.utilities.db.ConnectionPoolImpl - Exception Occured in connection: Cannot create connection:Could not connect: Client does not support authentication protocol requested by server; consider upgrading MariaDB client
  Exception in thread "Thread-1" java.lang.IllegalMonitorStateException
          at java.lang.Object.notifyAll(Native Method)
          at com.utilities.db.ConnectionPoolImpl.run(ConnectionPoolImpl.java:128)
          at java.lang.Thread.run(Thread.java:745)
  
  
  +-------------------------+--------------------------+
  | Variable_name           | Value                    |
  +-------------------------+--------------------------+
  | innodb_version          | 5.6.35-80.0              |
  | protocol_version        | 10                       |
  | slave_type_conversions  |                          |
  | version                 | 10.1.23-MariaDB-9+deb9u1 |
  | version_comment         | Raspbian 9.0             |
  | version_compile_machine | armv7l                   |
  | version_compile_os      | debian-linux-gnueabihf   |
  | version_malloc_library  | system jemalloc          |
  | version_ssl_library     | YaSSL 2.4.2              |
  | wsrep_patch_version     | wsrep_25.19              |
  +-------------------------+--------------------------+
  </code></pre>
  
  <p>I am using java to connect to db.</p>
  
  <pre><code>Class.forName("org.drizzle.jdbc.DrizzleDriver");
  
  Connection connection = DriverManager.getConnection(""jdbc:drizzle://" + ADDRESS + ":" + PORT + "/" + DB", userName, password);
  
  Connection connection = DriverManager.getConnection(
                          "jdbc:drizzle://" + DBProperties.ADDRESS + ":" + DBProperties.PORT + "/?allowMultiQueries=true",
                          DBProperties.USER, DBProperties.PASS)
  
  &lt;dependency&gt;
          &lt;groupId&gt;org.drizzle.jdbc&lt;/groupId&gt;
          &lt;artifactId&gt;drizzle-jdbc&lt;/artifactId&gt;
          &lt;version&gt;1.4&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I am not sure why i am getting this can anyone help me?</p>