From a24659bbd59518ffcc30a44c3475e7dd1ac73ce3 Mon Sep 17 00:00:00 2001 From: Sophia Atkinson Date: Wed, 19 Oct 2022 20:49:54 -0700 Subject: [PATCH] Update 'scripts/mariadbinstall.sh' --- scripts/mariadbinstall.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/mariadbinstall.sh b/scripts/mariadbinstall.sh index a6aad2d..6bbfb69 100644 --- a/scripts/mariadbinstall.sh +++ b/scripts/mariadbinstall.sh @@ -11,6 +11,18 @@ fi apt update && apt upgrade -y sudo apt install wget software-properties-common dirmngr ca-certificates apt-transport-https -y sudo apt install mariadb-server mariadb-client -y +echo -e "==================================================================" +echo "Time to Configure MariaDB." +echo "Don't Know what to do? I can help!" +echo "1. Root password just click ENTER as there is no password" +echo "2. Switch to unix_socket authentication select. n" +echo "3. Change the root password? Y" +echo "4. Remove anonymous users? Y " +echo "5. Disallow root login remotely? y, But if it's local it's fine to say no." +echo "6. Remove test database and access to it? Y" +echo "7. Reload privilege tables now? Y" +echo -e "==================================================================" +sleep 5 sudo mysql_secure_installation while [ "$go" != 'y' ] && [ "$go" != 'n' ]; do