From 45eccc78370c90c514bdac9414d48dc896cc03c4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 6 May 2023 10:04:40 -0500 Subject: [PATCH] Update cc-cleaner.sh --- cc-cleaner.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cc-cleaner.sh b/cc-cleaner.sh index ebe88d3..b9b0be7 100755 --- a/cc-cleaner.sh +++ b/cc-cleaner.sh @@ -58,9 +58,10 @@ case "$choice" in # /opt/copycerts.sh # apt install -y mailutils xtrabackup + echo read -p "Enter the admin password for MySQL: " pwd 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;" + mysql -u root -p -e "CREATE USER 'admintest'@'%' IDENTIFIED BY '${pwd}';GRANT ALL PRIVILEGES ON *.* TO 'admintest'@'%' WITH GRANT OPTION;" ;; esac