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

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, select the Stop button in the toolbar.

    Screenshot of Stop Flexible Server.

  3. Select Yes to confirm stopping your server.

    Screenshot of 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, select the Start button in the toolbar.

    Screenshot of Start Flexible Server.

Note

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