Remediation
From Google Cloud Console
- Go to the Cloud SQL Instances page in the Google Cloud Platform Console using https://console.cloud.google.com/sql/.
- Select the instance to open its Overview page.
- Select
Access Control > Users. - Click the
More actions iconfor the user to be updated. - Select
Change password, specify aNew password, and clickOK.
From Google Cloud CLI
-
Set a password for a MySQL instance:
gcloud sql users set-password root \
--host={{host}} \
--instance={{instance-name}} \
--prompt-for-password -
A prompt will appear, requiring the user to enter a password:
Instance Password: -
With a successful password configured, the following message should be seen:
Updating Cloud SQL user...done.