Azure Database for MySQL flexible server, adding to an existing vnet

CDATIRE 11 Reputation points
2022-06-17T02:39:59.82+00:00

i created a mysql db
but i cant seem to add it to the vnet that i want
i created a subnet and dedicated it to mysql
but i still cant add a mysql db to it
doesn't let me select the vnet
212291-image.png

212292-image.png

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
986 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andriy Bilous 11,821 Reputation points MVP Volunteer Moderator
    2022-06-17T15:36:18.02+00:00

    Hello @CDATIRE

    I reproduced your steps and I was able to create VNET and MySQL Flexible server in WEST EU region

    Note that the virtual network and subnet should be in the same region and subscription as your flexible server, so only virtual networks and subnets in the same region and subscription will be listed in the drop down.

    212612-image.png

    212563-image.png

    Try to recreate your VNET and subnets

    https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-manage-virtual-network-portal

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.