Update cc-reinstall.sh
This commit is contained in:
@@ -56,7 +56,7 @@ case "$choice" in
|
||||
[Nn]) echo ''; exit 0;;
|
||||
* )
|
||||
echo -e "Server 1: Pri MySQL & PostgreSQL\nServer 2: LAN & WAN MySQL"
|
||||
read -n 1 -p "Select which server (1/2)? " serverchoice
|
||||
read -n 1 -p "Select which server to install(1/2)? " serverchoice
|
||||
case "${serverchoice}" in
|
||||
[Nn]) echo ''; exit 0;;
|
||||
* )
|
||||
@@ -73,7 +73,7 @@ case "$choice" in
|
||||
echo "Enter the root MySQL password:"
|
||||
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
|
||||
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" choice2
|
||||
echo
|
||||
echo
|
||||
echo "Importing Previous Database Clusters"
|
||||
@@ -134,8 +134,7 @@ case "$choice" in
|
||||
|
||||
echo
|
||||
echo "Install Completed"
|
||||
;;
|
||||
# ;;
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user