Update cc-cleaner.sh
This commit is contained in:
@@ -55,20 +55,20 @@ case "$choice" in
|
||||
[Nn]) echo ''; exit 0;;
|
||||
* )
|
||||
|
||||
# ./install-cc
|
||||
#
|
||||
# /opt/copycerts.sh
|
||||
# apt install -y mailutils xtrabackup
|
||||
#
|
||||
# echo
|
||||
# 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;"
|
||||
# ;;
|
||||
|
||||
# read -n 1 -p "Login at https://mysql.scity.us and setup the admin user, once complete then press ENTER" choice
|
||||
#
|
||||
./install-cc
|
||||
|
||||
/opt/copycerts.sh
|
||||
apt install -y mailutils xtrabackup
|
||||
|
||||
echo
|
||||
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;"
|
||||
;;
|
||||
|
||||
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
|
||||
|
||||
/usr/bin/s9s cluster --register \
|
||||
--cluster-type=galera \
|
||||
--nodes="10.10.1.51;10.10.1.52" \
|
||||
|
||||
Reference in New Issue
Block a user