diff --git a/NGINX-Installer.sh b/NGINX-Installer.sh index a3d67a4..a00ed36 100644 --- a/NGINX-Installer.sh +++ b/NGINX-Installer.sh @@ -22,7 +22,6 @@ chmod -R 755 /var/www apt install -y nginx mysql-server-5.7 # mysql_secure_installation automated mysqladmin -u root password "$password" -mysql -u root -p"$password" -e "UPDATE mysql.user SET Password=PASSWORD('$password') WHERE User='root'" 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\_%'"