azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

task AzureMysqlDeployment@1 not working on private MySQL instance

Open ayelencasamassa opened this issue 2 years ago • 1 comments

I have create a private flexible MySQL instance on Azure When I tried to deploy with task AzureMysqlDeployment@1, I got this error:

Starting: AzureMysqlDeployment

Task : Azure Database for MySQL deployment Description : Run your scripts and make changes to your Azure Database for MySQL Version : 1.208.0 Author : Microsoft Corporation Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-mysql-deployment

##[error]Error: The MySQL server list is empty. The MySQL server host name is invalid. Finishing: AzureMysqlDeployment

The agent can solve the private DNS pointer. This is my task:

  • task: AzureMysqlDeployment@1 inputs: azureSubscription: <my_subscription> ServerName: <my_private_dns_zone_pointer> SqlUsername: <my_admin>@<my_private_dns_zone_pointer> SqlPassword: <my_pass> TaskNameSelector: 'SqlTaskFile' SqlFile: <my_file> IpDetectionMethod: 'AutoDetect'

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ayelencasamassa avatar Dec 15 '22 12:12 ayelencasamassa

@ayelencasamassa thank you for reaching out! are you seeing an issue with the sample from the document? as this seems to be a support issue rather than an issue with the documentation. For support issues, you can either: • Open a support ticket for formal support • Open a discussion thread in Q&A for community and product group feedback.

GeethaThatipatri-MSFT avatar Dec 15 '22 15:12 GeethaThatipatri-MSFT

@ayelencasamassa I have not heard back from you. We will proceed to close this issue now. If there are further questions regarding this, please comment and we will gladly continue the discussion.

GeethaThatipatri-MSFT avatar Dec 19 '22 17:12 GeethaThatipatri-MSFT