Update cc-cleaner.sh
This commit is contained in:
@@ -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;"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user