由于 Jboss 用户中的 caching_sha2_password 插件,NetApp Active IQ Management Server Service 无法在 Windows 平台上启动
适用于
- Active IQ Unified Manager (AIQUM) 9.11+
- Windows 平台
问题描述
- 在适用于 Windows 的 Active IQ Unified Manager 9.11+ 中启动 NetApp Active IQ Management Server Service 时,该服务无法启动。
- AIQUM GUI 显示 404 错误
server.log位于C:\ProgramData\NetApp\OnCommandAppData\ocie\log\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 = 'caching_sha2_password'
- 在 MySQL 中运行以下查询,显示 jboss 用户设置为使用
caching_sha2_password身份验证协议插件:
mysql> select Host,User,plugin,password_last_changed from mysql.user;
+-----------+------------------+-----------------------+-----------------------+
| Host | User | plugin | password_last_changed |
+-----------+------------------+-----------------------+-----------------------+
| localhost | jboss | caching_sha2_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)