Azure Database for MySQL server configurations - az mysql server configuration

Commands to configure an Azure Database for MySQL server.

Commands

az mysql server configuration list List the configurations of an Azure Database for MySQL server.
az mysql server configuration set Update the configuration of an Azure Database for MySQL server.
az mysql server configuration show Show the configuration of an Azure Database for MySQL server.

az mysql server configuration list

List the configurations of an Azure Database for MySQL server.

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

Required Parameters

--resource-group -g

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

--server-name -s

Name of the server.

az mysql server configuration set

Update the configuration of an Azure Database for MySQL server.

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

Examples

Set new value for a configuration.

az mysql server configuration set -g testgroup -s testsvr -n  --value 

Set configuration's value to default.

az mysql server configuration set -g testgroup -s testsvr -n 

Required Parameters

--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=.

--server-name -s

Name of the server.

Optional Parameters

--value

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

az mysql server configuration show

Show the configuration of an Azure Database for MySQL server.

az mysql server configuration show --name
--resource-group
--server-name

Required Parameters

--name -n

The name of the server configuration to be retrieved.

--resource-group -g

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

--server-name -s

Name of the server.