Apply security patches and updates to the underlying operating system of the MySQL Managed Database. This function runs during regular maintenance windows, which you can configure with the Update a managed MySQL database operation.
-
The database's status needs to be
active. -
If your database cluster is configured with a single node, downtime occurs during maintenance updates. Consider upgrading to a high availability plan to avoid any maintenance downtime.
-
Major upgrades are optional until the service reaches end of service, and can be done in place.
-
A successful request triggers a
database_upgradeevent.
Permissions and scopes
To call this operation, you need the following:
-
Identity and access permissions. Your user needs these roles assigned. Learn more.
- Roles:
database_admin
- Roles:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
databases:read_write
- Scopes:
CLI
linode-cli databases mysql-patch 123