Search code examples
mysqlgoogle-cloud-platformgoogle-cloud-sql

How to prevent automatic updates being applied to the Cloud SQL instance


How to prevent automatic updates being applied to the Cloud SQL instance. I see Type as Update and Status as Done for many entries. Its a MySQL 5.7 instance. How should I prevent Updates on my Cloud SQL instance?

https://cloud.google.com/sql/faq#maintenancerestart


Solution

  • Cloud SQL is a fully-managed database service, so it's not possible to prevent automatic updates. As you can see in the FAQ, minor updates are deployed as they are released. If you have a second-generation instance, you might want to consider a preferred maintenance window that will be less disruptive for your application.