From d2c79524bf9c9a66c4062bc7ecc0236f259b59a2 Mon Sep 17 00:00:00 2001 From: bprieshof Date: Sun, 15 Sep 2019 19:38:53 +0200 Subject: [PATCH] Fixed Typo on 245 --- installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index c83ff9e..0927904 100644 --- a/installer.sh +++ b/installer.sh @@ -242,7 +242,7 @@ whiptail --title "Installing MySQL" --infobox "Busy like a bee" 8 45 mysql -u root -p"$password" -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1')" > $OUTPUT 2>&1 mysql -u root -p"$password" -e "DELETE FROM mysql.user WHERE User=''" > $OUTPUT 2>&1 mysql -u root -p"$password" -e "DELETE FROM mysql.db WHERE Db='test' OR Db='test\_%'" > $OUTPUT 2>&1 -mysql -u root -p"$password" -e "SELECT user,authentication_string,plugin,host FROM mysql.user;" $> $OUTPUT 2>&1 +mysql -u root -p"$password" -e "SELECT user,authentication_string,plugin,host FROM mysql.user;" $OUTPUT 2>&1 mysql -u root -p"$password" -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '"$password"';" > $OUTPUT 2>&1 mysql -u root -p"$password" -e "FLUSH PRIVILEGES;" > $OUTPUT 2>&1