title | description | author | ms.author | ms.service | ms.topic | ms.date | ms.custom |
---|---|---|---|---|---|---|---|
Restart server - Azure CLI - Azure Database for MariaDB |
This article describes how you can restart an Azure Database for MariaDB server using the Azure CLI. |
savjani |
pariks |
mariadb |
how-to |
3/18/2020 |
devx-track-azurecli |
This topic describes how you can restart an Azure Database for MariaDB server. You may need to restart your server for maintenance reasons, which causes a short outage as the server performs the operation.
The server restart will be blocked if the service is busy. For example, the service may be processing a previously requested operation such as scaling vCores.
The time required to complete a restart depends on the MariaDB recovery process. To decrease the restart time, we recommend you minimize the amount of activity occurring on the server prior to the restart.
[!INCLUDE quickstarts-free-trial-note]
To complete this how-to guide:
- You need an Azure Database for MariaDB server.
[!INCLUDE azure-cli-prepare-your-environment-no-header.md]
- This article requires version 2.0 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
Restart the server with the following command:
az mariadb server restart --name mydemoserver --resource-group myresourcegroup
Learn about how to set parameters in Azure Database for MariaDB