-
-
Save mattruma/9133a3b93a2d7fab0ea75d45c6c3f2ce to your computer and use it in GitHub Desktop.
Adventures with Azure DevOps: Connect to Azure Database for MySQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pool: | |
vmImage: 'ubuntu-latest' | |
steps: | |
- checkout: none | |
- script: echo Hello, world! | |
displayName: 'Run a one-line script' | |
- task: AzureMysqlDeployment@1 | |
displayName: 'Execute Azure MySQL : InlineSqlTask' | |
inputs: | |
ConnectedServiceName: $(ConnectedServiceName) | |
ServerName: $(ServerName) | |
DatabaseName: schema1 | |
SqlUsername: $(SqlUserName) | |
SqlPassword: $(SqlPassword) | |
TaskNameSelector: InlineSqlTask | |
SqlInline: SELECT * FROM schema1.table1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment