Skip to main content
NetApp Knowledge Base

AIQUM OCIE service fails to start due to mysql_native_password error

Views:
993
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

Applies to

  • Active IQ Unified Manager (AIQUM) 9.16+
  • Windows Platform

Issue

  • After stopping services, the restart of ocie service hangs and is not completing
  • Unable to access AIQUM Web GUI due to HTTP error 404
  • Error in server.log :

Caused by: java.sql.SQLNonTransientConnectionException: Could not connect to address=(host=localhost)(port=3306)(type=master) : Client does not support authentication protocol requested by server. plugin type was = 'mysql_native_password'
  at org.mariadb//org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:73) [mariadb-java-client.jar:]
  at org.mariadb//org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:192) [mariadb-java-client.jar:]
  at org.mariadb//org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1346) [mariadb-java-client.jar:]
  at org.mariadb//org.mariadb.jdbc.internal.util.Utils.retrieveProxy(Utils.java:634) [mariadb-java-client.jar:]
  at org.mariadb//org.mariadb.jdbc.MariaDbConnection.newConnection(MariaDbConnection.java:150) [mariadb-java-client.jar:]
  at org.mariadb//org.mariadb.jdbc.Driver.connect(Driver.java:89) [mariadb-java-client.jar:]

  • Running the following query in MySQL shows that the jboss user is set to use mysql_native_password authentication protocol plugin:

mysql> select Host,User,plugin,password_last_changed from mysql.user;
+-----------+------------------+-----------------------+-----------------------+
| Host      | User             | plugin                | password_last_changed |
+-----------+------------------+-----------------------+-----------------------+
| localhost | jboss            | mysql_native_password | 2023-03-29 16:17:40   |
| localhost | mysql.infoschema | caching_sha2_password | 2023-03-29 12:20:19   |
| localhost | mysql.session    | caching_sha2_password | 2023-03-29 12:20:19   |
| localhost | mysql.sys        | caching_sha2_password | 2023-03-29 12:20:19   |
| localhost | root             | mysql_native_password | 2023-03-29 12:21:19   |
+-----------+------------------+-----------------------+-----------------------+
5 rows in set (0.00 sec)

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.