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