Update cc-reinstall.sh

This commit is contained in:
2023-07-31 23:15:52 -05:00
parent dff351e324
commit f769509e19

View File

@@ -62,9 +62,9 @@ case "$choice" in
echo
echo
read -p "Enter the password for the Admin account in MySQL: " pwd
read -p "Enter a new password for the MySQL 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 creating the admin account:"
mysql -u root -p -e "CREATE USER 'admin'@'%' IDENTIFIED BY '${pwd}';GRANT ALL PRIVILEGES ON *.* TO 'admin'@'%' WITH GRANT OPTION;"
read -n 1 -p "Login at https://mysql.scity.us and setup the admin user, verify it brings up the deploy prompt. Once complete then press ENTER" choice