From 37d97f2a3fdb7bf3b8ee52523c3b1fef6477e9cc Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Tue, 3 Sep 2019 13:06:49 +0200 Subject: [PATCH] Update 'installer.sh' --- installer.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/installer.sh b/installer.sh index 9892134..96acacd 100644 --- a/installer.sh +++ b/installer.sh @@ -176,7 +176,6 @@ source /tmp/mysql-8.0.sh ##------------------------------## # MySQL_Secure_Installation # ##------------------------------## -mysqladmin -u root -p "$password" mysql -u root -p"$password" -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1')" mysql -u root -p"$password" -e "DELETE FROM mysql.user WHERE User=''" mysql -u root -p"$password" -e "DELETE FROM mysql.db WHERE Db='test' OR Db='test\_%'"