Update mariadb-install.sh

fixes https://github.com/tteck/Proxmox/issues/3635
pull/3642/head
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
1 changed files with 0 additions and 2 deletions

View File

@ -20,8 +20,6 @@ $STD apt-get install -y mc
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing MariaDB" 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 $STD apt-get install -y mariadb-server
sed -i 's/^# *\(port *=.*\)/\1/' /etc/mysql/my.cnf 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 sed -i 's/^bind-address/#bind-address/g' /etc/mysql/mariadb.conf.d/50-server.cnf