azure-docs
azure-docs copied to clipboard
task AzureMysqlDeployment@1 not working on private MySQL instance
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.
- ID: 37ae1b23-2b57-8449-1c5e-d7bd3599834b
- Version Independent ID: 50679d56-b423-6e54-c3f0-fbe0e844df26
- Content: Azure Pipelines task for Azure Database for MySQL Single Server
- Content Source: articles/mysql/single-server/azure-pipelines-mysql-deploy.md
- Service: mysql
- Sub-service: single-server
- GitHub Login: @juliakm
- Microsoft Alias: jukullam
@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.
@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.