Databases

Database for MySQL

Microsoft.DBforMySQL

Resource types
12 of 13 supported
Data plane
5 types emulated
API versions
3 newest 2024-12-30
Ships as
Plugin 2026.11
Plan
Standard and above

Data as of 2026-11-20

Resource types

The Resource Types supported by Locally for the Microsoft.DBforMySQL plugin are shown below. You can click into a type to see more information.

Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.

API versions

The latest API version that Locally supports for Microsoft.DBforMySQL is 2024-12-30. All 3 versions it supports are listed below.

Stable2

2024-12-30 2023-12-30

Preview1

2025-06-01-preview

Features

  • MySQL 5.7, 8.0 and 8.4: each flexible server runs the official MySQL image for its version.
  • Connect with any MySQL client, such as mysql, MySQL Workbench or your app's driver, over TLS. The server's connection strings are on its Dashboard page.
  • Password authentication, with a change to the administrator password applied to the running server.
  • Microsoft Entra authentication for the server's Entra administrators, with an access token for https://ossrdbms-aad.database.windows.net. Setting aad_auth_only to ON makes the server Entra-only.
  • Databases are created on the running server with their charset and collation.
  • Server parameters from Azure's catalogue for the server's version, validated as Azure validates them and applied to the running server. Dynamic parameters apply at once, static ones after a restart.
  • Major version upgrades move the server's databases onto the new version.
  • Stop, start and restart, keeping the server's data.
  • On-demand backups with mysqldump, which point-in-time restore, geo-restore and read replicas load their data from.
  • Chaos Engineering can refuse logins as throttled, failing or forbidden, slow down or drop connections, report too many connections, fail over or restart the server, or simulate an outage. Team

Limitations

Administrators

  • Only the server's Entra administrators can sign in with a token at this time. CREATE AADUSER isn't supported, so you can't add other Entra users.

Configurations

  • innodb_buffer_pool_size and max_connections report Azure's default for the compute size, but the server keeps MySQL's own default unless you set them.

Flexible Servers

  • Backup and export to a storage account, migration cutover and private endpoint connections return HTTP 501 Not Implemented at this time.
  • Connections must use TLS. Setting require_secure_transport to OFF doesn't allow unencrypted ones.
  • Firewall rules and public network access are recorded but not enforced, so any client that can reach the server can connect.
  • Point-in-time restore loads the newest on-demand backup taken at or before the restore point at this time, or the source's current data if there isn't one.
  • Restores, read replicas and major version upgrades copy the server's databases but not the users you created on it at this time.
  • The administrator login only has rights on databases created through Azure, such as with the CLI or Terraform. It can't create databases or users from SQL.

Replicas

  • A read replica is a copy of its source when it was created. It doesn't replicate changes made afterwards at this time.

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.