Update cc-cleaner.sh
This commit is contained in:
1 parent
cc7ec0d0aa
commit
4c51be9de1
1 file changed
+2
-1
+2
-1
@@ -62,7 +62,8 @@ case "$choice" in
|
|||||||
|
|
||||||
echo
|
echo
|
||||||
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:"
|
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 'admin'@'%' IDENTIFIED BY '${pwd}';GRANT ALL PRIVILEGES ON *.* TO 'admin'@'%' WITH GRANT OPTION;"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user