From 8d9720a53e2ebdaceb894e076a7a60bf522a7b7a Mon Sep 17 00:00:00 2001 From: MickLesk Date: Mon, 18 May 2026 14:39:13 +0200 Subject: [PATCH] fix(mysql): update MySQL installation logic for Debian 13+ to use 8.4 LTS --- misc/tools.func | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 <