Skip to content

Update mysql java connector version to 8.4.0 (matching version for MySQL 8.4)#12640

Merged
sureshanaparti merged 5 commits intoapache:4.20from
shapeblue:mysql-8.4-support
May 4, 2026
Merged

Update mysql java connector version to 8.4.0 (matching version for MySQL 8.4)#12640
sureshanaparti merged 5 commits intoapache:4.20from
shapeblue:mysql-8.4-support

Conversation

@sureshanaparti
Copy link
Copy Markdown
Contributor

@sureshanaparti sureshanaparti commented Feb 13, 2026

Description

This PR updates mysql java connector version to 8.4.0 (matching version for MySQL 8.4). It's better to use connector version matching with the server family for full support and stability.

Doc PR: apache/cloudstack-documentation#629

MySQL 8.0 is EOL April 2026.

References:
MySQL 8.4 Release Notes - https://dev.mysql.com/doc/relnotes/mysql/8.4/en/
MySQL 8.4 Deprecation/Removal - https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html#mysqld-8-4-0-deprecation-removal

Authentication Plugins:
caching_sha2_password is the default authentication plugin from MySQL 8.4. mysql_native_password authentication plugin is deprecated as of MySQL 8.0.34, disabled by default in MySQL 8.4, and removed as of MySQL 9.0.0.

caching_sha2_password - https://dev.mysql.com/doc/refman/8.4/en/caching-sha2-pluggable-authentication.html
mysql_native_password - https://dev.mysql.com/doc/refman/8.4/en/native-pluggable-authentication.html

MySQL EOL - https://endoflife.date/mysql

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@sureshanaparti
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@sureshanaparti sureshanaparti linked an issue Feb 13, 2026 that may be closed by this pull request
@blueorangutan
Copy link
Copy Markdown

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 16.25%. Comparing base (e22f842) to head (097cd1e).
⚠️ Report is 49 commits behind head on 4.20.

Additional details and impacted files
@@            Coverage Diff            @@
##               4.20   #12640   +/-   ##
=========================================
  Coverage     16.25%   16.25%           
- Complexity    13420    13425    +5     
=========================================
  Files          5662     5662           
  Lines        500144   500167   +23     
  Branches      60729    60740   +11     
=========================================
+ Hits          81300    81325   +25     
+ Misses       409760   409755    -5     
- Partials       9084     9087    +3     
Flag Coverage Δ
uitests 4.15% <ø> (-0.01%) ⬇️
unittests 17.11% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@blueorangutan
Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16828

@sureshanaparti
Copy link
Copy Markdown
Contributor Author

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@blueorangutan
Copy link
Copy Markdown

[SF] Trillian Build Failed (tid-15451)

@blueorangutan
Copy link
Copy Markdown

[SF] Trillian Build Failed (tid-15452)

@blueorangutan
Copy link
Copy Markdown

[SF] Trillian Build Failed (tid-15456)

@sureshanaparti
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

[SF] Trillian test result (tid-15518)
Environment: kvm-ol9 (x2), zone: Advanced Networking with Mgmt server ol9
Total time taken: 53272 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr12640-t15518-kvm-ol9.zip
Smoke tests completed. 141 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

Copy link
Copy Markdown
Contributor

@vladimirpetrov vladimirpetrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM based on manual testing. Tested upgrades from mysql 8.0 with Oracle Linux 8, 9, Rocky Linux 8, 9, Alma Linux 8, 9 and Ubuntu 24 and fresh install with Oracle Linux 8 and 9.

@sureshanaparti sureshanaparti changed the title MySQL 8.4 support Update mysql java connector version to 8.4.0 (matching version for MySQL 8.4) Feb 26, 2026
@sureshanaparti sureshanaparti marked this pull request as ready for review February 26, 2026 09:46
@sureshanaparti
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 17009

@vishesh92
Copy link
Copy Markdown
Member

@sureshanaparti Some of these changes were done in #10909
Can you check if we need this PR or not.

@sureshanaparti
Copy link
Copy Markdown
Contributor Author

@sureshanaparti Some of these changes were done in #10909 Can you check if we need this PR or not.

@vishesh92 mysql-connector-j changes are already addressed here.

@harikrishna-patnala
Copy link
Copy Markdown
Member

@sureshanaparti can we merge this PR now as the 4.20.3 is already released ?

@sureshanaparti sureshanaparti merged commit a7c2a05 into apache:4.20 May 4, 2026
26 checks passed
@sureshanaparti sureshanaparti deleted the mysql-8.4-support branch May 4, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MySQL 8.4 support

8 participants