From daeefafdf9896fb3544cd4a1667a822ef69e6e04 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 7 Aug 2023 14:42:51 -0400 Subject: [PATCH] Update mariadb-install.sh tweak --- install/mariadb-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/mariadb-install.sh b/install/mariadb-install.sh index e7af61e1..ef154ed0 100644 --- a/install/mariadb-install.sh +++ b/install/mariadb-install.sh @@ -21,6 +21,8 @@ msg_ok "Installed Dependencies" msg_info "Installing MariaDB" $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 msg_ok "Installed MariaDB" read -r -p "Would you like to add Adminer? " prompt