Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.66 KB

howto-restart-server-cli.md

File metadata and controls

38 lines (26 loc) · 1.66 KB
title description author ms.author ms.service ms.topic ms.date
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.
ajlam
andrela
mariadb
conceptual
3/18/2020

Restart Azure Database for MariaDB server using the Azure CLI

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.

Prerequisites

To complete this how-to guide, you need:

[!INCLUDE cloud-shell-try-it.md]

Important

This how-to guide requires that you use Azure CLI version 2.0 or later. To confirm the version, at the Azure CLI command prompt, enter az --version. To install or upgrade, see Install Azure CLI.

Restart the server

Restart the server with the following command:

az mariadb server restart --name mydemoserver --resource-group myresourcegroup

Next steps

Learn about how to set parameters in Azure Database for MariaDB