diff --git a/misc/tools.func b/misc/tools.func index 18538e87..a34a2d79 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -6283,9 +6283,11 @@ function setup_mysql() { return 100 } - # Debian 13+ Fix: MySQL 8.0 incompatible with libaio1t64, use 8.4 LTS + # Debian 13+ Fix: MySQL 8.0 incompatible with libaio1t64, force 8.4 LTS + # Trixie has native MySQL 8.4 LTS repo support; forky/sid fall back to trixie if [[ "$DISTRO_ID" == "debian" && "$DISTRO_CODENAME" =~ ^(trixie|forky|sid)$ ]]; then - msg_info "Debian ${DISTRO_CODENAME} detected → using MySQL 8.4 LTS (libaio1t64 compatible)" + local MYSQL_SUITE="trixie" + msg_info "Debian ${DISTRO_CODENAME} detected → installing MySQL 8.4 LTS" if ! download_gpg_key "https://repo.mysql.com/RPM-GPG-KEY-mysql-2023" "/etc/apt/keyrings/mysql.gpg" "dearmor"; then msg_error "Failed to import MySQL GPG key" @@ -6295,7 +6297,7 @@ function setup_mysql() { cat >/etc/apt/sources.list.d/mysql.sources <