easygcloud
Delete a database from a Cloud SQL instance
command
gcloud sql databases delete DB_NAME --instance INSTANCEalso accepted
gcloud sql databases deletecommand
gcloud sql databases delete DB_NAME --instance INSTANCEalso accepted
gcloud sql databases deletePart of the Google Cloud CLI (gcloud) — Cloud SQL category.
| Flag | Purpose |
|---|---|
--instance | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →