1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-24 08:52:18 +02:00

Update mariadb-install.sh

tweak
This commit is contained in:
tteckster 2023-08-07 14:42:51 -04:00 committed by GitHub
parent f796767e06
commit daeefafdf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,8 @@ msg_ok "Installed Dependencies"
msg_info "Installing MariaDB" msg_info "Installing MariaDB"
$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/^bind-address/#bind-address/g' /etc/mysql/mariadb.conf.d/50-server.cnf
msg_ok "Installed MariaDB" msg_ok "Installed MariaDB"
read -r -p "Would you like to add Adminer? <y/N> " prompt read -r -p "Would you like to add Adminer? <y/N> " prompt