psm MySQLCS patch
Apply a patch to a MySQL Cloud Service instance. Applying a patch always performs a backup before the patch is applied.
Syntax
In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm MySQLCS patch -s|--service-name instance-name
-p|--patch-id patch-id
-a|--additional-note string
[-wc|--wait-until-complete true|false]
[-of|--output-format json|html|short]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the MySQL Cloud Service instance. |
|
Specifies the patch ID of the patch to apply. To retrieve a list of patch IDs available to apply a service instance, see psm MySQLCS available-patches. |
|
(Optional) Text string. Add a note to describe the patching operation. |
|
(Optional) If set to Waiting for the job to complete... (it cannot be cancelled) The default value is |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
Examples
The following example applies patch 5.7.13.1–EE
to the MySQL57–aas
instance.
$ psm MySQLCS patch --service-name MySQL57–aas --patch-id 5.7.13.1–EE