Skip to main content

Azure Database for MySQL

Scalable, open-source MySQL database.

Innovate faster with a fully managed MySQL database

Focus on application development, not database management. Azure Database for MySQL is cost effective and easy to set up, operate, and scale. Enjoy advanced security, same-zone or zone-redundant high availability, and a service-level agreement (SLA) of up to 99.99 percent. Learn how to migrate your on-premises MySQL database to Azure with this migration guide.

Fully managed MySQL, compatible with the latest community editions, that provides maximum flexibility for database operations.

Intelligent performance recommendations provide custom analysis and suggestions for MySQL database optimization.

Simplified development experience and tight interoperability with Azure App Service and Azure Kubernetes Service (AKS).

Enterprise-grade security and compliance, and enhanced security capabilities of Microsoft Defender for Identity.

Cost-effective, fully managed MySQL database

Easily build or migrate your workloads to Azure Database for MySQL. Set up, manage, and automate the maintenance of your database server, including routine updates, backups, and security. Achieve a 48 percent lower total cost of ownership1 and save with burstable instances or stop-start capabilities, paying for storage only when your database is stopped. Build with the latest MySQL Community Edition using existing tools, drivers, and programming languages of your choice.

Provision and scale quickly and easily

Provision a database in less than two minutes and improve query speed with AI-powered database monitoring and optimization features. Identify slow-running queries with query performance insight, and further optimize your database with performance recommendations. Maximize performance for large databases with support for up to 96 vCores, 672 gibibytes of memory, 16 TB of storage, and 48,000 I/O operations per second (IOPS) to achieve throughput of up to 150,000 queries per second.

Build resilient, responsive mission-critical apps

Enhance business continuity for your mission-critical applications running enterprise-grade application services on Azure. Take advantage of new flexible server features, including user-controlled maintenance windows, server parameter configuration, and IOPS provisioning. Choose the Business Critical pricing tier for high-performance transactional or analytical applications, and get up to a 99.99 percent service-level agreement (SLA) for same-zone or zone-redundant high availability.

Deploy applications faster with the Azure ecosystem

Achieve faster innovation and increased productivity with a simplified end-to-end deployment experience with flexible server. Ship faster by leveraging GitHub integration for your CI/CD pipeline. Tap into the Azure ecosystem by using Azure Database for MySQL with Azure AI Services, Azure Kubernetes Service (AKS), or Azure App Service to deploy popular web apps, including Magento, Shopify, Moodle, Alfresco, Drupal, and WordPress.

Build on a trusted platform

  • .

    Deploy on the trusted Microsoft Cloud and get enterprise-grade security features with built-in encryption and security layers for maximum data protection.

  • .

    Discover, track, and remediate potential threats in real time with Microsoft Defender for open-source relational databases.

  • .

    Control data isolation by configuring a virtual network.

  • .

    Perform double encryption with custom keys and Transport Layer Security (TLS) 1.2 enforcement. Your data is automatically encrypted at rest and in motion.

  • .

    Get industry-leading Azure compliance, including HIPAA, PCI DSS, FedRAMP, and ISO, built in.

Comprehensive security and compliance, built in

  • Microsoft invests more than $1 billion annually on cybersecurity research and development.

  • We employ more than 3,500 security experts who are dedicated to data security and privacy.

  • Azure has more certifications than any other cloud provider. View the comprehensive list.

  • Find the deployment option and pricing that fit your needs

    Scale compute, memory, and storage independently and pay only for what you use. Explore flexible server pricing and deployment options, and save up to 60 percent with reserved capacity.

Azure Database for MySQL solution architectures

Build and implement web and mobile applications using popular open-source technology.

Get started with an Azure free account


Start free. Get $200 credit to use within 30 days. While you have your credit, get free amounts of many of our most popular services, plus free amounts of 55+ other services that are always free.


After your credit, move to pay as you go to keep building with the same free services. Pay only if you use more than your free monthly amounts.


After 12 months, you'll keep getting 55+ always-free services—and still pay only for what you use beyond your free monthly amounts.

Trusted by companies of all sizes

How a highly regulated industry uses the cloud

Learn how HSBC built an intelligent, analytics-rich digital payment platform for its PayMe for Business app on Azure.


University of South Africa

"After moving to Azure in 2019, we've had no incidents. Changing our approach helped us successfully rebuild our reputation for reliable information and communications technology."

Francette Myburgh, Business Analyst, University of South Africa


University of South Africa


"With… flexible server, disk management tasks such as disk volume size changes and IOPS performance optimization can be run online without maintenance. We were able to eliminate about two unnecessary maintenance periods per quarter."

Seokchan Sohn, Lead of System Team, GamePub

Back to tabs

Frequently asked questions about Azure Database for MySQL

  • No. Azure Database for MySQL is a fully managed database service, which means that Microsoft automates the management and maintenance of your infrastructure and database server, including routine updates, backups, and security.

  • The service tiers are primarily differentiated by compute, memory, storage type, and IOPS. See the Azure Database for MySQL service tiers for details.

  • Azure Database for MySQL uses MySQL Community Edition. See supported versions for the specific engine versions available.

  • Connectivity between your Azure Database for MySQL instance and the Azure internet gateway is guaranteed 99.99 percent of the time, regardless of your service tier. Read the SLA. For information about architecture availability, see the connectivity architecture.

Ready when you are—let's set up your Azure free account

    1. Microsoft commissioned the Enterprise Strategy Group to commission a study in September 2021 on the economic validation of migrating on-premises workloads to Azure Database for MySQL. ESG validated that organizations have reported significant operational savings, have reduced risk, and have improved the speed of application development and delivery when migrating to Azure Database for MySQL. ESG’s modeled scenario predicts that a medium-sized development organization with 26 developers and 200 MySQL instances could realize savings of up to 48 percent over a three-year period, including an 86 percent lower cost of administration. They could also realize improved revenue of $15.5 million with earlier release of products, improved application uptime, and improved product quality by using Azure Database for MySQL, resulting in a 92 percent return on investment (ROI).