Update mariadb-install.sh

reintroduce MariaDB repositories
This commit is contained in:
tteckster 2023-08-27 10:10:40 -04:00 committed by GitHub
parent 86d1a388f9
commit f5b629de51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ $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