Support tip: Move to declarative device management for Apple software updates
July 11, 2025New Course Pages Coming to Microsoft Learn for 1-Day, Non-Cert-Aligned ILTs
July 11, 2025Why Custom Ports?
By default, MySQL servers listen on port 3306. While this works well for most setups, some organizations need custom port configurations—for example, to comply with network security policies, reduce port conflicts, or streamline integration with legacy systems.
With this update, you can now choose a custom port number when creating your VNet-injected MySQL Flexible Server—giving you flexibility without compromising on the fully managed experience Azure offers.
Key Capabilities
- Flexible Port Selection: Choose any port between 25001 and 26000 during server creation.
- Seamless Restore and HA: Use custom ports with supported operations such as restore, read replica creation, and high availability.
- One Port per Server: Each server supports a single custom port configuration.
What’s Supported (and What’s Not)
Supported in Public Preview:
- VNet-injected servers
- New server creation with a custom port
- Restores across different ports
- Read replica creation
- High Availability (HA) on custom ports
Current Limitations:
- Updating the port after server creation
- Geo-restore and geo-replication
- Public access and Private Link (coming soon)
Designed for Secure, Custom Deployments
This feature is ideal for customers operating in tightly controlled network environments or managing complex workloads that demand specific port configurations. During the preview, custom port support is available for VNet-injected servers only—offering an added layer of network isolation and security.
For more details, visit the Azure Database for MySQL documentation – Networking Overview – Azure Database for MySQL – Flexible Server | Microsoft Learn and Manage Virtual Networks – Azure Portal – Azure Database for MySQL – Flexible Server | Microsoft Learn.
We can’t wait to hear how you use this new capability to streamline your MySQL deployments! If you have any feedback or questions about the information provided above, please leave a comment below or email us at AskAzureDBforMySQL@service.microsoft.com. Thank you!