Stop/Start an Azure Database for MySQL - Flexible Server instance

APPLIES TO: Azure Database for MySQL - Flexible Server

This article provides step-by-step procedure to perform Stop and Start of an Azure Database for MySQL flexible server instance.

Prerequisites

To complete this how-to guide, you must have an Azure Database for MySQL flexible server instance.

Stop a running server

  1. In the Azure portal, choose your Azure Database for MySQL flexible server instance that you want to stop.

  2. From the Overview page, click the Stop button in the toolbar.

    Stop flexible server.

  3. Click Yes to confirm stopping your server.

    Confirm stopping flexible server.

Note

Once the server is stopped, the other management operations are not available for the Azure Database for MySQL flexible server instance.

Automatic server start for stopped servers after 30 days

To mitigate potential disruptions resulting from servers inadvertently remaining inactive, our system is equipped with an automatic start feature. If a server remains stopped for a continuous period of 30 days, it will be automatically started.

Upon this automatic start, the server status will update to "Available," and billing for the server will commence accordingly.

Please be advised that it’s not permissible to stop servers for a duration exceeding 30 days. If you foresee the need to stop your server beyond this period, it’s advisable to create a backup of your server data by exporting the data and later you might want to delete the server instance to avoid unwarranted costs and enhance security. You can utilize our Export Backup Feature (currently in preview), or employ a community tool such as mysqldump.

Start a stopped server

  1. In the Azure portal, choose your Azure Database for MySQL flexible server instance that you want to start.

  2. From the Overview page, click the Start button in the toolbar.

    Start flexible server.

Note

Once the server is started, all management operations are now available for the Azure Database for MySQL flexible server instance.

Next steps