Update mariadb-install.sh

fixes https://github.com/tteck/Proxmox/issues/3635
This commit is contained in:
tteckster 2024-09-01 06:02:16 -04:00 committed by GitHub
parent c9e271dac7
commit e680dab28f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,8 +20,6 @@ $STD apt-get install -y mc
msg_ok "Installed Dependencies"
msg_info "Installing MariaDB"
$STD bash <(curl -fsSL https://r.mariadb.com/downloads/mariadb_repo_setup)
$STD apt-get update
$STD apt-get install -y mariadb-server
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