merge MariaDB to tools.func Installer (#4753)

* merge MariaDB to tools.func Installer

* add more mariadb migrations
This commit is contained in:
CanbiZ 2025-05-27 15:32:22 +02:00 committed by GitHub
parent 5ccf8a7cd6
commit ac2f0e66ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 172 additions and 161 deletions

View file

@ -13,11 +13,12 @@ setting_up_container
network_check
update_os
msg_info "Installing MariaDB"
$STD apt-get install -y mariadb-server
install_mariadb
msg_info "Setup MariaDB"
sed -i 's/^# *\(port *=.*\)/\1/' /etc/mysql/my.cnf
sed -i 's/^bind-address/#bind-address/g' /etc/mysql/mariadb.conf.d/50-server.cnf
msg_ok "Installed MariaDB"
msg_ok "Setup MariaDB"
read -r -p "${TAB3}Would you like to add PhpMyAdmin? <y/N> " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then