Fully managed, scalable MySQL Database
Azure Database for MySQL provides a fully managed database service for app development and deployment with built-in capabilities, such as high availability, at no extra cost.
Explore pricing options
Apply filters to customize pricing options to your needs.
Prices are estimates only and are not intended as actual price quotes. Actual pricing may vary depending on the type of agreement entered with Microsoft, date of purchase, and the currency exchange rate. Prices are calculated based on US dollars and converted using Thomson Reuters benchmark rates refreshed on the first day of each calendar month. Sign in to the Azure pricing calculator to see pricing based on your current program/offer with Microsoft. Contact an Azure sales specialist for more information on pricing or to request a price quote. For more information on Azure pricing see frequently asked questions.
US government entities are eligible to purchase Azure Government services from a licensing solution provider with no upfront financial commitment, or directly through a pay-as-you-go online subscription.
Important—The price in R$ is merely a reference; this is an international transaction and the final price is subject to exchange rates and the inclusion of IOF taxes. An eNF will not be issued.
US government entities are eligible to purchase Azure Government services from a licensing solution provider with no upfront financial commitment, or directly through a pay-as-you-go online subscription.
Important—The price in R$ is merely a reference; this is an international transaction and the final price is subject to exchange rates and the inclusion of IOF taxes. An eNF will not be issued.
Single Server is a preconfigured database server and is best for workloads where the database have minimal customization requirements including:
- Automatic database patching and maintenance
- Built-in high availability with 99.99% SLA
Basic
Workloads requiring light compute and I/O performance.
Compute
Compute is provisioned in virtual cores (vCores). A vCore represents a logical CPU.
Compute Gen 5
Gen 5 logical CPUs are based on Intel E5-2673 v4 (Broadwell) 2.3 GHz processors.
vCore | Memory | Price |
---|---|---|
1 | 2 GiB | $- |
2 | 4 GiB | $- |
Storage
You are charged for the storage that you provision for your server. Storage can be provisioned up to 1 TB.
Price | |
---|---|
GB/month | $- |
Backup
Backup storage is the storage associated with automated backups of your server. Increasing your backup retention period increases the backup storage that is consumed by your server. There is no additional charge for backup storage for up to 100% of your total provisioned server storage. Additional consumption of backup storage will be charged in GB/month.
Price | |
---|---|
Locally redundant GB/month | $- |
General Purpose
Most business workloads requiring balanced compute and memory with scalable I/O throughput.
Compute
Compute is provisioned in virtual cores (vCores). A vCore represents a logical CPU.
Compute Gen 5
Gen 5 logical CPUs are based on Intel E5-2673 v4 (Broadwell) 2.3 GHz processors.
vCore | Memory | Price | 1 year reserved | 3 year reserved |
---|---|---|---|---|
2 | 10 GiB | $- |
$-
|
$-
|
4 | 20 GiB | $- |
$-
|
$-
|
8 | 40 GiB | $- |
$-
|
$-
|
16 | 80 GiB | $- |
$-
|
$-
|
32 | 160 GiB | $- |
$-
|
$-
|
64 | 320 GiB | $- |
$-
|
$-
|
Storage
You are charged for the storage that you provision for your server. Storage can be provisioned up to 16 TB.
Price | |
---|---|
GB/month | $- |
Backup
Backup storage is the storage associated with automated backups of your server. Increasing your backup retention period increases the backup storage that is consumed by your server. There is no additional charge for backup storage for up to 100% of your total provisioned server storage. Additional consumption of backup storage will be charged in GB/month.
Price | |
---|---|
Locally redundant GB/month | $- |
Geographically redundant GB/month | $- |
Read Replica
Read replicas allow read-heavy workloads to scale out beyond the capacity of a single Azure Database for MySQL server. For each read replica you create, you are billed for the provisioned compute in vCores and provisioned storage in GB/month.
Memory Optimized
High performance database workloads requiring in-memory performance for faster transaction processing and higher concurrency.
Compute
Compute is provisioned in virtual cores (vCores). A vCore represents a logical CPU.
Compute Gen 5
Gen 5 logical CPUs are based on Intel E5-2673 v4 (Broadwell) 2.3 GHz processors.
vCore | Memory | Price | 1 year reserved | 3 year reserved |
---|---|---|---|---|
2 | 20 GiB | $- |
$-
|
$-
|
4 | 40 GiB | $- |
$-
|
$-
|
8 | 80 GiB | $- |
$-
|
$-
|
16 | 160 GiB | $- |
$-
|
$-
|
32 | 320 GiB | $- |
$-
|
$-
|
Storage
You are charged for the storage that you provision for your server. Storage can be provisioned up to 16 TB.
Price | |
---|---|
GB/month | $- |
Backup
Backup storage is the storage associated with automated backups of your server. Increasing your backup retention period increases the backup storage that is consumed by your server. There is no additional charge for backup storage for up to 100% of your total provisioned server storage. Additional consumption of backup storage will be charged in GB/month.
Price | |
---|---|
Locally redundant GB/month | $- |
Geographically redundant GB/month | $- |
Read Replica
Read replicas allow read-heavy workloads to scale out beyond the capacity of a single Azure Database for MySQL server. For each read replica you create, you are billed for the provisioned compute in vCores and provisioned storage in GB/month.
Azure Defender
For more information on Azure Defender for open-source relational databases, please visit the Azure Defender pricing page.
Unique capabilities to reduce total cost of ownership
Flexible and transparent pricing
Scale compute and storage independently based on your workload. Only pay for what you use.
Optimize your cost
Save up to 60% compared to pay-as-you-go options with reserved capacity. Reduce total cost of ownership with burstable instances and Stop/Start capabilities so when the database is stopped, you only pay for storage.
Choice of deployment option
Deployment options to meet your database management and customization needs with deployment options including Single Server and Flexible Server.
Azure pricing and purchasing options

Connect with us directly
Get a walkthrough of Azure pricing. Understand pricing for your cloud solution, learn about cost optimization and request a custom proposal.
Talk to a sales specialistSee ways to purchase
Purchase Azure services through the Azure website, a Microsoft representative, or an Azure partner.
Explore your optionsAdditional resources
Azure Database for MySQL
Learn more about Azure Database for MySQL features and capabilities.
Pricing calculator
Estimate your expected monthly costs for using any combination of Azure products.
SLA
Review the Service Level Agreement for Azure Database for MySQL.
Documentation
Review technical tutorials, videos, and more Azure Database for MySQL resources.
Frequently asked questions
-
The Basic tier is designed for workloads requiring light compute and I/O performance. Examples include servers used for development or testing, or small-scale infrequently used applications. General Purpose is for most business workloads requiring balanced compute and memory with scalable I/O throughput. Examples include servers for hosting Web and Mobile apps, and other enterprise applications. The Memory Optimized tier is for high performance database workloads requiring in-memory performance for faster transaction processing and higher concurrency. Examples include servers for processing real-time data and high performance transactional or analytical apps. Please review the documentation for more details.
-
For all tiers, the service is billed on a predictable, hourly rate based on pricing tier, provisioned compute in vCores, and provisioned storage in GB/month for your server and backups. On your bill, vCore hours, storage GB/month for the server and storage GB/month for backups will have separate line items.
-
You are billed for each hour or portion thereof that a MySQL server exists, regardless of whether the server was active for the full hour. If you have scaled your database, you will be billed using the highest pricing tier, provisioned vCore and provisioned storage during the hour.
For example:
- If you create a MySQL server and delete it after five minutes, you are charged for one full hour for the provisioned compute and storage.
- If you create a MySQL server in the General Purpose tier with 8 vCores and then immediately upgrade it to 16 vCores in the General Purpose tier, you are charged at the 16 vCore rate for the first hour.
-
Yes. As of July 1, 2018, standard charges apply for network egress. Refer here for more details.
-
Backup storage is the storage associated with automated backups of your server. Increasing your backup retention period increases the backup storage that is consumed by your MySQL server. There is no additional charge for backup storage for up to 100% of your total provisioned server storage. Additional consumption of backup storage will be charged in GB/month. For example, if you have the database storage size of 100 GBs, you will get 100 GBs of backup at no additional cost. However, if the backup is 110 GBs, you will pay for the 10 GBs.
Talk to a sales specialist for a walk-through of Azure pricing. Understand pricing for your cloud solution.
Get free cloud services and a $200 credit to explore Azure for 30 days.