az mysql server configuration

Manage configuration values for a server.

Commands

az mysql server configuration list List the configuration values for a server.
az mysql server configuration set Update the configuration of a server.
az mysql server configuration show Get the configuration for a server.".

az mysql server configuration list

List the configuration values for a server.

az mysql server configuration list [--ids]
[--resource-group]
[--server-name]
[--subscription]

Examples

List the configuration values for a server. (autogenerated)

az mysql server configuration list --resource-group MyResourceGroup --server-name MyServer

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--server-name -s

Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az mysql server configuration set

Update the configuration of a server.

az mysql server configuration set [--ids]
[--name]
[--resource-group]
[--server-name]
[--subscription]
[--value]

Examples

Set a new configuration value.

az mysql server configuration set -g testgroup -s testsvr -n {config_name} --value {config_value}

Set a configuration value to its default.

az mysql server configuration set -g testgroup -s testsvr -n {config_name}

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--name -n

The name of the server configuration.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--server-name -s

Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--value

Value of the configuration. If not provided, configuration value will be set to default.

az mysql server configuration show

Get the configuration for a server.".

az mysql server configuration show [--ids]
[--name]
[--resource-group]
[--server-name]
[--subscription]

Examples

Get the configuration for a server." (autogenerated)

az mysql server configuration show --name MyServerConfiguration --resource-group MyResourceGroup --server-name MyServer

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--name -n

The name of the server configuration.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--server-name -s

Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.