From 8b0fcab0c809a0420cfde9b41ec694dc5ed42e5b Mon Sep 17 00:00:00 2001 From: Valentin Date: Fri, 23 Feb 2024 16:30:50 +0100 Subject: [PATCH] mysql_secure_installation correction 5 --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 084bfeb..f451654 100644 --- a/install.sh +++ b/install.sh @@ -104,7 +104,9 @@ if [[ "$answer" == "y" ]]; then spawn mysql_secure_installation expect \"Enter current password for root (enter for none):\" send \"\r\" - expect \"root password?\" + expect \"Switch to unix_socket authentication [Y/n]\" + send \"n\r\" + expect \"Change the root password? [Y/n]\" send \"y\r\" expect \"New password:\" send \"$db_root_password\r\"