使用 Azure 门户重启 Azure Database for MySQL 服务器Restart Azure Database for MySQL server using Azure portal

备注

将要查看的是 Azure Database for MySQL 的新服务。You are viewing the new service of Azure Database for MySQL. 若要查看经典 MySQL Database for Azure 的文档,请访问此页To view the documentation for classic MySQL Database for Azure, please visit this page.

本主题介绍如何重启 Azure Database for MySQL 服务器。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. 例如,服务可能正在处理先前请求的操作(例如缩放 vCore)。For example, the service may be processing a previously requested operation such as scaling vCores.

完成重启所需的时间取决于 MySQL 恢复过程。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:

执行服务器重启Perform server restart

可通过以下步骤重启 MySQL 服务器:The following steps restart the MySQL server:

  1. 在 Azure 门户中,选择 Azure Database for MySQL 服务器。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 -“概述”-“重启”按钮

  3. 单击“是”以确认重启服务器 。Click Yes to confirm restarting the server.

    Azure Database for MySQL - 重启确认

  4. 观察到服务器状态更改为“正在重启”。Observe that the server status changes to "Restarting".

    Azure Database for MySQL - 重启状态

  5. 确认服务器重启成功。Confirm server restart is successful.

    Azure Database for MySQL - 重启成功

后续步骤Next steps

快速入门:使用 Azure 门户创建 Azure Database for MySQL 服务器Quickstart: Create Azure Database for MySQL server using Azure portal