Bug 2043212 - Update mariadb-java client to 2.7.1+
Summary: Update mariadb-java client to 2.7.1+
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: mariadb-java-client
Version: 8.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Zuzana Miklankova
QA Contact: Jakub Heger
Lenka Špačková
URL:
Whiteboard:
Depends On: 2069660
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-20 19:30 UTC by Honza Horak
Modified: 2022-11-08 10:33 UTC (History)
8 users (show)

Fixed In Version: mariadb-java-client-2.7.1-1.el8
Doc Type: Enhancement
Doc Text:
.`mariadb-java-client` rebased to version 2.7.1 The `mariadb-java-client` package, which provides a `MariaDB` connector for applications developed in Java, has been updated to version 2.7.1. This update introduces the following changes in services: * Client authentication plug-ins are now defined as services. As a result, you can easily add new client authentication plug-ins. The driver includes the `caching_sha2_password` and `sha256_password` plug-ins for compatibility with `MySQL`. * Credential plug-ins are now permitted to provide credential information. The driver includes three default plug-ins: `AWS IAM`, `Environment`, and `Property`. * The SSL factory service now enables you to use custom SSL implementation. For example, you can create a new `HostnameVerifier` implementation. Other notable changes include: * The `enabledSslProtocolSuites` option now includes TLSv1.2 by default.
Clone Of:
Environment:
Last Closed: 2022-11-08 09:39:50 UTC
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker KIECLOUD-396 0 None None None 2022-05-30 15:39:53 UTC
Red Hat Issue Tracker RHELPLAN-109025 0 None None None 2022-01-20 19:34:31 UTC
Red Hat Product Errata RHBA-2022:7562 0 None None None 2022-11-08 09:39:53 UTC

Description Honza Horak 2022-01-20 19:30:58 UTC
This bug was initially created as a copy of Bug #1849812

I am copying this bug because: 

mariadb-java-client was updated to 2.7.1 in RHEL-7, so we have a regression in RHEL-8 now. We should figure out how to close this gap (whether the rebase would be acceptable in RHEL-8 or whether to include a new package).


Description of the original problem (RHEL-7):
Would be good if the mariadb-java-client distributed on rhel is greater than version 2.5, on this version support to the 'caching_sha2_password' on the client side, the current version does not support it thus we need to configure the MySQL or Mariadb newer versions to use the old authentication plugin: mysql_native_password

Version-Release number of selected component (if applicable):
mariadb-java-client: 2.2.5


How reproducible:
Use this driver to connect to a MySQL 8 database.



Steps to Reproduce:
Try to connect an application to the MySQL 8 database with the caching_sha2_password authentication plugin enabled (defualt).


Actual results:
App fails to connect to the database.

Expected results:
A successful connection must happen.


Additional info:
Workaround is to switch back to the old authentication plugin: mysql_native_password

Comment 21 errata-xmlrpc 2022-11-08 09:39:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (mariadb-java-client bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:7562


Note You need to log in before you can comment on or make changes to this bug.