Update cc-cleaner.sh

This commit is contained in:
2023-06-05 21:25:13 -05:00
parent cc7ec0d0aa
commit 4c51be9de1

View File

@@ -62,7 +62,8 @@ case "$choice" in
echo
echo
read -p "Enter the admin password for MySQL: " pwd
read -p "Enter the password for the Admin account in MySQL: " pwd
echo
echo "Enter the root password for adding back in the admin user for MySQL:"
mysql -u root -p -e "CREATE USER 'admin'@'%' IDENTIFIED BY '${pwd}';GRANT ALL PRIVILEGES ON *.* TO 'admin'@'%' WITH GRANT OPTION;"