Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following table includes links to sample Azure CLI scripts for Azure Database for MySQL Flexible Server.
Sample link | Description |
---|---|
Create and connect to a server | |
Create an Azure Database for MySQL - Flexible Server instance and enable public access connectivity using Azure CLI | Creates an Azure Database for MySQL Flexible Server instance, configures a server-level firewall rule (public access connectivity method) and connects to the server. |
Create an Azure Database for MySQL - Flexible Server database in a VNet using Azure CLI | Creates an Azure Database for MySQL Flexible Server instance in a VNet (private access connectivity method) and connects to the server through a VM within the VNet. |
Monitor and scale | |
Monitor and scale an Azure Database for MySQL - Flexible Server instance using Azure CLI | Monitors and scales a single Azure Database for MySQL Flexible Server instance up or down to allow for changing performance needs. |
Backup and restore | |
Restore an Azure Database for MySQL - Flexible Server instance using Azure CLI | Restores a single Azure Database for MySQL Flexible Server instance to a previous point in time. |
High Availability | |
Configure zone-redundant high availability in an Azure Database for MySQL - Flexible Server instance using Azure CLI | Enables Zone-Redundant high availability while creating an Azure Database for MySQL Flexible Server instance. |
Configure same-zone high availability in Azure Database for MySQL - Flexible Server using Azure CLI | Enables Same-Zone high availability while creating an Azure Database for MySQL Flexible Server instance. |
Manage server | |
Restart/stop/start an Azure Database for MySQL - Flexible Server instance using Azure CLI | Performs restart, stop and start operations on a single Azure Database for MySQL Flexible Server instance. |
List and change server parameters of Azure Database for MySQL - Flexible Server using Azure CLI | Changes server parameters of a single Azure Database for MySQL Flexible Server instance. |
Replication | |
Create and manage read replicas in Azure Database for MySQL - Flexible Server using Azure CLI | Creates and manages read replicas in a single Azure Database for MySQL Flexible Server instance. |
Configure logs | |
Configure audit logs on Azure Database for MySQL - Flexible Server using Azure CLI | Configures audit logs on a single Azure Database for MySQL Flexible Server instance. |
Configure slow query logs on an Azure Database for MySQL - Flexible Server instance using Azure CLI | Configures slow-query logs on a single Azure Database for MySQL Flexible Server instance. |