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 icon
for the user to be updated. - Select
Change password
, specify aNew password
, and clickOK
.
From Google Cloud CLIβ
-
Set a password to 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.