- Billing Export: Configure billing export for your Cloud SQL instances to receive detailed billing information in BigQuery or as a CSV file, helping you analyze and optimize your costs.
- Top Commands used in Google Cloud SQL
Service | Command Group | Common Actions | Full CLI Commands |
Cloud SQL | gcloud sql instances | Create instance | gcloud sql instances create INSTANCE_NAME –tier db-f1-micro –region REGION –database-version DATABASE_VERSION |
List instances | gcloud sql instances list | ||
Describe instance | gcloud sql instances describe INSTANCE_NAME | ||
Set root password | gcloud sql users set-password root –host=% –instance INSTANCE_NAME –password NEW_PASSWORD | ||
Connect to instance | gcloud sql connect INSTANCE_NAME –user=root | ||
Delete instance | gcloud sql instances delete INSTANCE_NAME |