|
| 1 | +--- |
| 2 | +title: Resolve capacity errors |
| 3 | +description: The article describes how you can resolve capacity errors when deploying or scaling Azure Database for MySQL - Flexible Server. |
| 4 | +author: karla-escobar |
| 5 | +ms.author: karlaescobar |
| 6 | +ms.reviewer: maghan |
| 7 | +ms.date: 02/29/2024 |
| 8 | +ms.service: mysql |
| 9 | +ms.subservice: flexible-server |
| 10 | +ms.topic: troubleshooting |
| 11 | +--- |
| 12 | + |
| 13 | +# Resolve capacity errors for Azure Database for MySQL - Flexible Server |
| 14 | + |
| 15 | +The article describes how you can resolve capacity errors when deploying or scaling Azure Database for MySQL - Flexible Server. |
| 16 | + |
| 17 | +## Exceeded quota |
| 18 | + |
| 19 | +If you encounter any of the following errors when attempting to deploy your Azure MySQL - Flexible Server resource, [submit a request to increase your quota](how-to-request-quota-increase.md). |
| 20 | + |
| 21 | +- `Operation could not be completed as it results in exceeding approved {0} Cores quota. Additional details - Current Limit: {1}, Current Usage: {2}, Additional Required: {3}, (Minimum) New Limit Required: {4}.Submit a request for Quota increase by specifying parameters listed in the 'Details' section for deployment to succeed.` |
| 22 | + |
| 23 | +## Subscription access |
| 24 | + |
| 25 | +Your subscription might not have access to create a server in the selected region if your subscription isn't registered with the MySQL resource provider (RP). |
| 26 | + |
| 27 | +If you see any of the following errors, [Register your subscription with the MySQL RP](#register-with-mysql-rp) to resolve it. |
| 28 | + |
| 29 | +- `Your subscription does not have access to create a server in the selected region.` |
| 30 | + |
| 31 | +- `Provisioning is restricted in this region. Please choose a different region. For exceptions to this rule please open a support request with issue type of 'Service and subscription limits'` |
| 32 | + |
| 33 | +- `Location 'region name' is not accepting creation of new Azure Database for MySQL - Flexible servers for the subscription 'subscription id' at this time` |
| 34 | + |
| 35 | +## Enable region |
| 36 | + |
| 37 | +Your subscription might not have access to create a server in the selected region. To resolve this issue, [file a support request to access a region](https://ms.portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade). |
| 38 | + |
| 39 | +If you see the following errors, file a support ticket to enable the specific region: |
| 40 | +- `Subscription 'Subscription name' is not allowed to provision in 'region name` |
| 41 | +- `Subscriptions are restricted from provisioning in this region. Please choose a different region. For exceptions to this rule please open a support request with the Issue type of 'Service and subscription limits.` |
| 42 | + |
| 43 | +## Availability Zone |
| 44 | + |
| 45 | +If you receive the following errors, select a different availability zone. |
| 46 | + |
| 47 | +- `Availability zone '{ID}' is not available for subscription '{Sub ID}' in this region temporarily due to capacity constraints.` |
| 48 | +- `Multi-Zone HA is not supported in this region. Please choose a different region. For exceptions to this rule please open a support request with the Issue type of 'Service and subscription limits'.` |
| 49 | + |
| 50 | +## SKU Not Available |
| 51 | + |
| 52 | +If you encounter the following error, select a different SKU type. Availability of SKU might differ across regions, either the specific SKU isn't supported in the region or temporarily unavailable. |
| 53 | + |
| 54 | +`Specified SKU is not supported in this region. Please choose a different SKU.` |
| 55 | + |
| 56 | +## Register with MySQL RP |
| 57 | + |
| 58 | +To deploy Azure Database for MySQL - Flexible Server resources, register your subscription with the MySQL resource provider (RP). |
| 59 | + |
| 60 | +You can register your subscription using the Azure portal, [the Azure CLI](/cli/azure/install-azure-cli), or [Azure PowerShell](/powershell/azure/install-azure-powershell). |
| 61 | + |
| 62 | +#### [Azure portal](#tab/portal) |
| 63 | + |
| 64 | +To register your subscription in the Azure portal, follow these steps: |
| 65 | + |
| 66 | +1. In Azure portal, select **More services.** |
| 67 | + |
| 68 | +1. Go to **Subscriptions** and select your subscription. |
| 69 | + |
| 70 | +1. On the **Subscriptions** page, in the left hand pane under **Settings** select **Resource providers.** |
| 71 | + |
| 72 | +1. Enter **MySQL** in the filter to bring up the MySQL related extensions. |
| 73 | + |
| 74 | +1. Select **Register**, **Re-register**, or **Unregister** for the **Microsoft.DBforMySQL** provider, depending on your desired action. |
| 75 | + :::image type="content" source="media/resolve-capacity-errors-mysql-flex/resource-provider-screen.png" alt-text="Screenshot of register mysql resource provider screen." lightbox="media/resolve-capacity-errors-mysql-flex/resource-provider-screen.png"::: |
| 76 | + |
| 77 | +#### [Azure CLI](#tab/azure-cli-b) |
| 78 | + |
| 79 | +To register your subscription using [the Azure CLI](/cli/azure/install-azure-cli), run this cmdlet: |
| 80 | + |
| 81 | +```azurecli-interactive |
| 82 | +# Register the MySQL resource provider to your subscription |
| 83 | +az provider register --namespace Microsoft.DBforMySQL |
| 84 | +``` |
| 85 | + |
| 86 | +#### [Azure PowerShell](#tab/powershell) |
| 87 | + |
| 88 | +To register your subscription using [Azure PowerShell](/powershell/azure/install-az-ps), run this cmdlet: |
| 89 | + |
| 90 | +```powershell-interactive |
| 91 | +# Register the MySQL resource provider to your subscription |
| 92 | +Register-AzResourceProvider -ProviderNamespace Microsoft.DBforMySQL |
| 93 | +``` |
| 94 | + |
| 95 | +--- |
| 96 | + |
| 97 | +## Other provisioning issues |
| 98 | + |
| 99 | +If you're still experiencing provisioning issues, open a **Region** access request under the support topic of Azure Database for MySQL - Flexible Server and specify the vCores you want to utilize. |
| 100 | + |
| 101 | +## Azure Program regions |
| 102 | + |
| 103 | +Azure Program offerings (Azure Pass, Imagine, Azure for Students, MPN, BizSpark, BizSpark Plus, Microsoft for Startups / Sponsorship Offers, Microsoft Developer Network(MSDN) / Visual Studio Subscriptions) have access to a limited set of regions. |
| 104 | + |
| 105 | +If your subscription is part of above offerings and you require access to any of the listed regions, submit an access request. Alternatively, you might opt for an alternate region: |
| 106 | + |
| 107 | +`Australia Central, Australia Central 2, Australia SouthEast, Brazil SouthEast, Canada East, China East, China North, China North 2, France South, Germany North, Japan West, Jio India Central, Jio India West, Korea South, Norway West, South Africa West, South India, Switzerland West, UAE Central, UK West, US DoD Central, US DoD East, US Gov Arizona, US Gov Texas, West Central US, West India.` |
| 108 | + |
| 109 | +## Related content |
| 110 | + |
| 111 | +- [Azure subscription and service limits, quotas, and constraints](/azure/azure-resource-manager/management/azure-subscription-service-limits) |
0 commit comments