Azure Database for MySQL provides managed MySQL hosting for transactional applications, websites, and services that use the MySQL protocol and ecosystem. Flexible Server is the deployment model for new workloads. A server is the management and resource boundary for one or more databases, which share its provisioned compute and storage. Applications connect through standard MySQL drivers, but compatibility testing remains necessary when migrating workloads that depend on particular engine versions, plugins, or administrative privileges.
Azure manages the operating system, database infrastructure, automated backups, and maintenance operations. Database administrators remain responsible for schema design, indexing, query performance, database permissions, and capacity planning. The service does not expose unrestricted operating system access or MySQL SUPER privileges. Configure supported engine settings through server parameters, and check whether a parameter change requires a restart. Use a maintenance window to align scheduled service work with operational requirements, while retaining application retry logic for transient interruptions.
Compute options include Burstable, General Purpose, and Memory Optimized tiers. Select a tier using measured CPU consumption, memory requirements, connection counts, and storage activity rather than database size alone. Burstable compute suits intermittent demand but is generally unsuitable for sustained CPU-intensive workloads. Compute scaling can interrupt connections, so clients should use connection pooling and bounded retries. Read replicas can offload eligible read traffic, but replication is asynchronous and applications must tolerate stale results.
For production availability, configure supported same-zone or zone-redundant high availability rather than assuming a single server provides protection against every failure. The standby supports failover and is not a read-scaling endpoint. Automated backups support point-in-time recovery within a configurable retention period of 1 to 35 days. Recovery creates a separate server, so recovery procedures must include validation and application reconnection. Geo-redundant backup, where supported and configured, addresses regional recovery requirements; local high availability alone does not provide regional disaster recovery.
Choose networking early. Public access uses firewall rules, private endpoints provide access through Azure Private Link, and virtual network integration deploys the server into a delegated subnet. These approaches have different deployment constraints and DNS requirements. Keep TLS enforcement enabled, restrict database privileges, and use Microsoft Entra authentication where appropriate. Data and backups are encrypted at rest, with customer-managed encryption keys available for requirements that need explicit key control.
Operate the service using Azure Monitor metrics and explicitly configured audit and slow query logs. Alert on resource saturation, connection pressure, storage growth, and replica lag. Test restore and failover procedures regularly, and include standby compute, read replicas, backup retention, monitoring ingestion, and network transfer in cost estimates.