Restart Azure Database for MySQL server using Azure portal

APPLIES TO: Azure Database for MySQL - Single Server

Important

Azure Database for MySQL - Single Server is on the retirement path. We strongly recommend for you to upgrade to Azure Database for MySQL - Flexible Server. For more information about migrating to Azure Database for MySQL - Flexible Server, see What's happening to Azure Database for MySQL Single Server?

This topic describes how you can restart an Azure Database for MySQL 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 MySQL 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:

Note

If the user restarting the server is part of custom role the user should have write privilege on the server.

Perform server restart

The following steps restart the MySQL server:

  1. In the Azure portal, select your Azure Database for MySQL server.

  2. In the toolbar of the server's Overview page, click Restart.

    Azure Database for MySQL - Overview - Restart button

  3. Click Yes to confirm restarting the server.

    Azure Database for MySQL - Restart confirm

  4. Observe that the server status changes to "Restarting".

    Azure Database for MySQL - Restart status

  5. Confirm server restart is successful.

    Azure Database for MySQL - Restart success

Next steps

Quickstart: Create Azure Database for MySQL server using Azure portal