sureshanaparti commented on PR #12640:
URL: https://github.com/apache/cloudstack/pull/12640#issuecomment-3925103346

   > > @sureshanaparti so without these changes ACS won’t work with mysql 8.4 
and 8.0 is to be end of life in two months. Should we merge? cc @abh1sar 
@harikrishna-patnala @nvazquez ?
   > 
   > @DaanHoogland @abh1sar I think, mysql 8.4 should work with the earlier 
java connector as well, but it's better to keep at least the major version in 
sync for the connector to avoid any issues later (else we can update it when 
any issues are found). I've triggered smoke tests with mysql 8.4 with 4.20 
health check PR to confirm if it works with earlier connector or not, let's 
wait for the results.
   
   @DaanHoogland @abh1sar smoke tests passed with mysql 8.4 with the existing 
mysql java connector, check the test results here:  
https://github.com/apache/cloudstack/pull/10668#issuecomment-3924525797.
   
   ```
   [root@pr10668-t15497-kvm-ol8-mgmt1 ~]# mysql --version
   mysql  Ver 8.4.7 for Linux on x86_64 (Source distribution)
   [root@pr10668-t15497-kvm-ol8-mgmt1 ~]# 
   [root@pr10668-t15497-kvm-ol8-mgmt1 ~]# ls -lrt 
/usr/share/cloudstack-management/lib/mysql-connector-j*
   -rw-r--r--. 1 root root 2481560 Feb 13 15:51 
/usr/share/cloudstack-management/lib/mysql-connector-j-8.0.33.jar
   [root@pr10668-t15497-kvm-ol8-mgmt1 ~]# 
   [root@pr10668-t15497-kvm-ol8-mgmt1 ~]# ls -lrt 
/usr/share/cloudstack-usage/lib/mysql-connector-j*
   -rw-r--r--. 1 root root 2481560 Feb 13 15:51 
/usr/share/cloudstack-usage/lib/mysql-connector-j-8.0.33.jar
   [root@pr10668-t15497-kvm-ol8-mgmt1 ~]#
   [root@pr10668-t15497-kvm-ol8-mgmt1 ~]# pip3 show mysql-connector-python
   Name: mysql-connector-python
   Version: 8.0.31
   Summary: MySQL driver written in Python
   Home-page: http://dev.mysql.com/doc/connector-python/en/index.html
   Author: Oracle and/or its affiliates
   Author-email: 
   License: GNU GPLv2 (with FOSS License Exception)
   Location: /usr/local/lib/python3.6/site-packages
   Requires: protobuf
   [root@pr10668-t15497-kvm-ol8-mgmt1 ~]#
   ```
   
   ```
   mysql> SELECT * FROM cloud.version ORDER BY id DESC LIMIT 3;
   +----+----------+---------------------+----------+
   | id | version  | updated             | step     |
   +----+----------+---------------------+----------+
   | 47 | 4.20.3.0 | 2026-02-18 12:47:31 | Complete |
   | 46 | 4.20.1.0 | 2026-02-18 12:47:31 | Complete |
   | 45 | 4.20.0.0 | 2026-02-18 12:47:29 | Complete |
   +----+----------+---------------------+----------+
   3 rows in set (0.00 sec)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to