Databases

Managed MySQL Database Patch

post
https://api.linode.com/v4/databases/mysql/instances/{instanceId}/patch

Apply security patches and updates to the underlying operating system of the Managed MySQL Database. This function runs during regular maintenance windows, which are configurable with the Managed MySQL Database Update (PUT /databases/mysql/instances/{instanceId}) command.

Requires read_write access to the Database.

The Database must have an active status to perform this command.

Note

  • If your database cluster is configured with a single node, you will experience downtime during this maintenance. Consider upgrading to a high availability plan to avoid any downtime due to maintenance.

  • The database software is not updated automatically. To upgrade to a new database engine version, consider deploying a new Managed Database with your preferred version. You can then migrate your databases from the original Managed Database cluster to the new one.

Path Parameters

instanceId
Required
integer

The ID of the Managed MySQL Database.

Request Samples

curl -H "Authorization: Bearer $TOKEN" \
    -X POST https://api.linode.com/v4/databases/mysql/instances/123/patch

Response Samples

{}

Responses

200: Managed Database instance patch request successful.

default: Error

errors
array of objects
reason
string

What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.

field
string

The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.