Skip to main content

Configuring an ADF Linked Service Connection for Azure Database for MySQL

note

For information on how to enable a connection for use with linked services, see Configuring a Linked Service Connection.

After selecting Azure MySQL from the Linked Service Type dropdown, the form required for creating an Azure Database for MySQL Linked Service will appear.

Azure MySQL Linked Service Form

Required Fields​

The required fields are:

Optional fields are:

Connect via Integration Runtime​

Connect via Integration Runtime names the integration runtime for an Azure MySQL Linked Service connection. The default value is AutoResolveIntegrationRuntime. To use another runtime, select it from the dropdown or choose + New to add one. The custom values that appear in this dropdown can be maintained in Settings under Azure - AzureIntegrationRuntime.

Connection String​

A connection to an Azure MySQL linked service requires a Connection String. The required properties for the Connection String are Server Name, Database Name, User Name, and Password. The Linked Service connection form will provide text boxes for these values and will use them to construct the connections string.

The Azure Key Vault tab beside the Connection String tab takes a secret that holds the whole connection string, and while it is selected the form hides the User Name and Password fields. Once both the AKV Linked Service and the Secret Name are filled, a User Name or Password entered before the tab was selected is not written into the saved connection string. The linked service accepts exactly one of the connection string and the Azure Key Vault reference, so BimlFlex writes the connection string only when the Secret Name is empty, and otherwise writes the reference alone. A Secret Name with an empty AKV Linked Service names a secret in the BimlFlex Autogenerated KeyVault.

note

It is suggested that Azure Key Vault be used in place of manually entering Connection String details.

User Name​

User Name will be used by the Linked Service form for authentication with the Azure MySQL Linked Service. User Name is required - except when using Azure Key Vault in place of a manually entering a Connection String.

Password​

Password will be used by the Linked Service form for authentication with the Azure MySQL Linked Service. Password is required - except when using Azure Key Vault in place of a manually entering a Connection String.

note

It is suggested that Azure Key Vault be used in place of manually entering the Password.

SSL Mode​

SSL Mode specifies encryption and verification when connecting to Azure MySQL. The values are represented as:

  • Disabled (0)
  • Preferred (1) (Default)
  • Required (2)
  • Verify_ca (3)
  • Verify_identity (4)

Use System Trust Store​

If selected, a CA certificate will be used from the System Trust Store or PEM file. Use System Trust Store is required except when SSL Mode is set to Disabled.

Additional Connection String Properties​

Any additional properties entered here will be included in the Connection String. These properties should be entered the same way you want them to appear in the Connection String and separated by a semicolon, e.g. key=value;secondKey=secondValue.

Values entered in the Additional Connection String Properties textbox will be maintained when changing linked service types. If a required property from one service type does not have a corresponding text box in the newly selected linked service type, it will appear as an additional property.

Azure Data Factory Linked Services Additional Information​

For additional information on ADF Linked Service types and their connection requirements see the Azure Data Factory Azure MySQL Connector documentation.