Skip Navigation

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, 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 control and flexibility for database operations

Intelligent performance recommendations provide custom analysis and suggestions for MySQL database optimisation

Simplified development experience and tight integration with Azure services including Azure App Service and Azure Container Service (AKS)

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

Fully managed MySQL compatible with the latest community editions

Easily set up, manage, and scale Azure Database for MySQL. Automate the management and maintenance of your infrastructure and database server, including routine updates, backups, and security. Enjoy maximum control of MySQL database management with customised maintenance windows and multiple configuration parameters for fine-tuning with Flexible Server.

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

Read the documentation

Optimise your MySQL database availability with a 99.99 percent SLA

Ensure your data is always available with same-zone or zone-redundant high availability, backed by industry-leading SLA's up to 99.99 percent. For mission-critical applications, choose zone-redundant high availability.

Learn more about high availability options

Scale your reach and performance with built-in AI

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

Learn more about optimising 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. Optimise 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 Services, Azure Kubernetes Service, and Azure Virtual Machine Scale Sets to deploy popular web applications, including Magento, Shopify, Moodle, Alfresco, Drupal and WordPress. Help safeguard your open-source innovations with Azure IP Advantage.

Advanced data security and compliance

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

Find the deployment option and pricing that fit 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. 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.

Everything you need to easily get started

Create an Azure free account and get 750 hours of Azure Database for MySQL Flexible Server free.

Learn more about Azure Database for MySQL Flexible Server.

Azure Database for MySQL resources and documentation


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


Save time, money, and resources when migrating your workloads to Azure Database for MySQL. Read the report.

Introduction to Azure Database for MySQL. An overview of the features and capabilities. Read the report.

Tutorials and labs

Develop an app: WordPress on Linux | PHP

Migrate data: Data migration guide

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.


University of South Africa becomes a fully digital online university with Azure

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

Francette Myburgh, Business Analyst, University of South Africa
University of South Africa

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 Optimised 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 us set up your Azure free account

Can we help you?