Total Page Preview:   000000000970

How to delete cloud SQL users using cloudshell in gcp?

In this article I am going to explain how to delete cloud sql users in google cloud(gcp) cloudshell command.

 

Syntax 

gcloud sql users delete USERNAME --instance=INSTANCE-i INSTANCE [--async] [--host=HOST]

 

Example

gcloud sql users delete "mysqlusr" --instance="instance1" 

 

mysqlusr@None will be deleted. New connections can no longer be made

using this user. Existing connections are not affected.
Do you want to continue (Y/n)?  Type "Y"

OUTPUT

Deleting Cloud SQL user...done.

Thank You

About Author

Brijesh Kumar

Database Developer

I have more then 6 years Experience in Microsoft Technologies - SQL Server Database, ETL Azure Cloud - Azure SQL Database, CosmosDB, Azure Data Factory, PowerBI, Web Job, Azure Function, Azure Storage, Web Apps, Powershall and Database Migration On-Premise to Azure Cloud.
LinkedIn : https://www.linkedin.com



Comments