This is a demote script for GCP CloudSQL
Requirement: gcloud cli command installed and authorized with your default region set, you can check with *gcloud config list *
[compute]
region = asia-east1
[core]
account = youremailhere
disable_prompts = true
disable_usage_reporting = False
Do the DemoteCreateVirtualMaster.sh first, than the Demote.sh script