Upgrade MariaDB to 11.4

This commit is contained in:
Xiufeng Guo 2024-06-11 18:50:01 +00:00
parent f56bcf0516
commit a953beb11a

View File

@ -383,7 +383,7 @@ function add_mariadb_repo() {
echo '### Add MariaDB repo ###' echo '### Add MariaDB repo ###'
printf "\E[0m" printf "\E[0m"
curl -sSL https://mariadb.org/mariadb_release_signing_key.asc | gpg --dearmor > /usr/share/keyrings/mariadb.gpg curl -sSL https://mariadb.org/mariadb_release_signing_key.asc | gpg --dearmor > /usr/share/keyrings/mariadb.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/mariadb.gpg] https://mirror-cdn.xtom.com/mariadb/repo/10.11/debian $(lsb_release -sc) main" > /etc/apt/sources.list.d/mariadb.list echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/mariadb.gpg] https://mirror-cdn.xtom.com/mariadb/repo/11.4/debian $(lsb_release -sc) main" > /etc/apt/sources.list.d/mariadb.list
printf "\E[0;33;40m" printf "\E[0;33;40m"
echo "### MariaDB repo added ###" echo "### MariaDB repo added ###"
printf "\E[0m" printf "\E[0m"