AIQUM OCIE service fails to start due to mysql_native_password error
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)
