Taragolis commented on PR #33722: URL: https://github.com/apache/airflow/pull/33722#issuecomment-1694027710
This implementations still uses Oracle MySQL repo for X86_64, but with more hacks rather for ARM and MariaDB. Personally I can't find easier way obtain shared libraries from MySQL repo: - 8.0: http://repo.mysql.com/apt/debian/dists/bullseye/mysql-8.0/binary-amd64/Packages - 8.1: http://repo.mysql.com/apt/debian/dists/bullseye/mysql-innovation/binary-amd64/Packages So if someone know how solve this puzzle I would be appreciate And I'm not sure should we use latest version from MySQL repo, because we do not know what happen when Oracle released 8.2, for example: "Are they released `libmysqlclient23`, and what happen with `libmysqlclient22`"? - Are they would be incompatible? - What happen if user get image with installed `libmysqlclient22` and run `apt-get update && apt-get upgrade`? Dependency breaks? Some resolution happen IMHO, better switch to MariaDB client compatible with mysql, I've found in package description in MariaDB 11.2 [Packages](https://archive.mariadb.org/mariadb-11.2/repo/debian/dists/bullseye/main/binary-amd64/Packages) info about **libmariadb3-compat** ``` Package: libmariadb3-compat Source: mariadb Version: 1:11.2.1+maria~deb11 Architecture: amd64 Maintainer: MariaDB Developers <[email protected]> Installed-Size: 14 Depends: libmariadb3, mariadb-common Breaks: libmysqlclient19, libmysqlclient20, libmysqlclient21 Replaces: libmysqlclient19, libmysqlclient20, libmysqlclient21 Provides: libmysqlclient19, libmysqlclient20, libmysqlclient21 Homepage: https://mariadb.org/ Priority: optional Section: libs Filename: pool/main/m/mariadb/libmariadb3-compat_11.2.1+maria~deb11_amd64.deb Size: 2884 SHA256: 927bd7aac337e43bda78a9b15681d9d1b54aa4fce859c4cf202e372a168351ae SHA1: 57aa02c05aa464d6b1885d3fd5d231f00643e3fc MD5sum: a3b8a8b0c1a9a01af70df35251e65664 Description: MariaDB database client library MySQL compat package MariaDB is a fast, stable and true multi-user, multi-threaded SQL database server. SQL (Structured Query Language) is the most popular database query language in the world. The main goals of MariaDB are speed, robustness and ease of use. . This package includes the client runtime libraries that simulate and replace the equivalents found in MySQL 5.6, 5.7 and 8.0 (mysqlclient19, 20 and 21). ``` BTW we do not use `libmariadb3` (I don't remember why I do not add it initially) in our image and seems like everything work fine, at least I do not have any problem to build any mysql clients with it. This made me think that we actually do not need to use `libmysqlclientXX` and could use one of: `mysql-community-client-core`, `mysql-community-client`, `mysql-client-core`, `mysql-core` -- 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]
