Total Page Preview:   000000000917

How to cloud SQL set users-password using cloudshell in gcp?

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

 

Syntax 

gcloud sql users set-password USERNAME --nstance=INSTANCEi INSTANCE [--async] [--host=HOST] [--password=PASSWORD     | --prompt-for-password]

 

Example

gcloud sql users set-password mysqlusr --instance=instance1 --password=password1234556 --host "ipaaprojects:europe-west2:instance1"

 

 

OUTPUT

Updating 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