Azure Database for MySQL

Fully managed, scalable MySQL database

Innovate faster with a fully managed MySQL database

Focus on application development, not database management. Azure Database for MySQL is easy to set up, operate, and scale. Enjoy advanced security and high availability with up to 99.99 percent SLA and a choice of single zone or zone redundant high availability.

Fully managed database based on the latest community editions, providing maximum control and flexibility for database operations

Intelligent performance recommendations providing custom analysis and suggestions for MySQL database optimization

Simplified development experience and tight integration with Azure services including Azure App Service and Azure Kubernetes service

Enterprise-grade security and compliance, and enhanced security capabilities of Azure Advanced Threat Protection

Fully managed database based on the latest community editions

Azure Database for MySQL is easy to set up, manage, and scale. It automates the management and maintenance of your infrastructure and database server, including routine updates, backups, and security. Enjoy maximum control of database management with custom maintenance windows and multiple configuration parameters for fine grained tuning with Flexible Server (Preview).

Build with the latest community edition of MySQL, including versions 5.6, 5.7, and 8.0. Use your existing tools, like MySQL Workbench, programming languages, and drivers of your choice, including PHP, Java, Node.js, and .NET.

Learn more

Optimize your database availability with a 99.99-percent SLA

Ensure your data is available when you select either single zone or zone redundant high availability. Azure is the only cloud that provides an SLA of 99.99 percent for single zone high availability. For mission-critical applications, enjoy zone redundant high availability.

Learn more about high availability

Scale your reach and performance with built-in AI

Improve your query speed with AI-powered database monitoring and optimization features. Use query store to track execution statistics for your database and query performance insight and performance recommendations to identify long-running queries and optimization opportunities. Get global reach and scale for read-intensive workloads with read replicas. Maximize performance for large databases with support for up to 16 TB of storage and 48,000 I/O operations per second.

Learn more about optimizing your database

Simplified developer experience through tight integration with Azure services

Increase productivity with a guided developer experience that helps you simplify end-to-end deployment. Optimize total cost of ownership with burstable instances and stop/start capabilities, paying for storage only when your database is stopped.

Seamlessly integrate Azure Database for MySQL with Azure App Service to enable deployment of popular web applications, including Magento, Shopify, Moodle, Alfresco, Drupal, and WordPress. Easily build modern applications using Azure Kubernetes Service (AKS) together with Azure Database for MySQL. Safeguard your open-source innovations with Azure IP Advantage.

Advanced data security and compliance

  • Discover, track, and remediate potential threats while they occur, with Advanced Threat Protection.
  • Control data isolation by configuring a virtual network.
  • Data is automatically encrypted at rest and in motion. Perform double encryption with custom keys and Transport Security Layer (TLS) 1.2 enforcement.
  • Get industry-leading compliance, such as HIPAA, PCI DSS, FedRAMP, and ISO, built-in.

Find the deployment option and pricing that fits your needs

Scale compute, memory, and storage independently and pay only for what you use. Explore pricing and deployment options including Single Server and Flexible Server (Preview). Save up to 60 percent with reserved capacity.

Azure Database for MySQL solution architectures

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

Azure Database for MySQL resources and documentation


Explore documentation to learn how to use and migrate to Azure Database for MySQL.

Tutorials and labs

Develop an app: WordPress on Linux | PHP

Migrate data: Database Migration Service

Query data: Java | PHP | .NET

Developer tips and tricks

Deploy WordPress using a container and Azure Database for MySQL.

Watch now

Connect containers running in Kubernetes to Azure Database for MySQL using the Open Service Broker for Azure.

Watch now

Migrate your applications to Azure Database for MySQL with minimal downtime.

Watch now

Trusted by companies of all sizes

HSBC innovates using Azure for its PayMe for Business app

Learn how HSBC built an intelligent, analytics-rich digital payment platform for its PayMe for Business app in Hong Kong.


GeekWire scales on demand to reach 2 million readers

"Our page load times are very low, and we're able to do it on a more powerful and scalable infrastructure that costs us 45 percent less."

Kevin Lisota, Web Developer at GeekWire

Nobel Prize site achieves unprecedented scale and flexibility

"Because we've simplified the management of our infrastructure with Linux on ASE, we can now concentrate on how we present data to better support the editorial team's work of telling the best stories to enlighten our global audience."

Magnus Gylje, Chief Digital Officer for Nobel Media

Deutsche Telekom builds a new data marketplace

"With Azure database services, we wouldn't have to manage uptime, backup, and recovery scenarios, and we could make the platform faster and more reliable."

Robert Neumann, Chief Executive Officer at Ultra Tendency
Deutsche Telekom

WhiteSource streamlines application development

"We see Azure as a very mature, integrated environment that helps accelerate delivery of our solution and provide seamless, rolling updates."

Uzi Yossef, Senior DevOps Engineer at WhiteSource

KMD delivers rich healthcare experience

"We predict this will greatly reduce our costs because we won't have any capacity sitting idle. It will also improve performance levels: if a customer adds 1,000 new users without telling us, their database will scale automatically to handle it."

Flemming Havn, Head of DevOps at KMD

Azure Database for MySQL updates, blogs, and announcements

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:

    • Basic is appropriate for workloads that require light compute and I/O performance. Examples include servers used for development or testing and small-scale, infrequently used applications.
    • General Purpose suits most business workloads that require balanced compute and memory with scalable I/O throughput. Examples include servers for hosting web and mobile apps and other enterprise applications.
    • Memory Optimized is suited for high-performance database workloads that require 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.

    Learn more about the pricing tiers and their corresponding compute, memory, storage, and IOPS configurations.

  • Azure Database for MySQL uses MySQL Community Edition. See supported versions for the specific engine versions available in the service.
  • 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 the availability architecture of Azure Database for MySQL, see the connectivity architecture.

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