To delete an instance:
Developers Console
- Go to the Google Developers Console and select a project by clicking on the project name.
- In the sidebar on the left, click Storage > Cloud SQL to show a list of Cloud SQL instances for the project.
- Select an instance to delete by clicking the instance name.
- Click Delete.
- In the Delete database instance dialog box, click OK.
Cloud SDK
- If needed, set the project to the one that contains the instance to
delete.
$ gcloud config set project YOUR_PROJECT_ID
- Delete the instance.
$ gcloud sql instances delete YOUR_INSTANCE_NAME
Notes:
-
After you delete an instance, it might still appear in your project with an "unknown" size but with a "Being deleted" status. This is normal and the instance should disappear completely after a brief period of time.
-
You cannot reuse a name for up to two months after you have deleted an instance.