Friday, October 14, 2016

[google-cloud-sql-discuss] Re: Setting root password via API

As per our documentation there is currently no way to perform user management via the new Beta SQL v1beta4 API for Second Generation instances.

User management on Second Generation Cloud SQL instances is limited to the MySQL Client administration tool, setting the root password manually via the Console (as explained under the 'CONSOLE (2ND GEN)' tabs in our documentation), using the previous SQL v1beta3 API, and with the gcloud setRootPassword command as it uses the previous v1beta3 API. 

Our engineers are working hard on bringing this complete functionality to Second Generation instances, but there is currently no ETA for this. In the meantime, you could therefore create a script that uses the previous v1beta3 API or runs the gcloud command locally to set the root passwords for your newly created instances.  

Note, you can still use the Cloud SQL API, Console, and Cloud SDK to update user's passwords for First Generation Cloud SQL instances only.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/df8a7d2a-9b80-4222-922a-0a3935b5d8dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment