2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    public sealed class MySqlConnectionProfile : IMessage<MySqlConnectionProfile>, IEquatable<MySqlConnectionProfile>, IDeepCloneable<MySqlConnectionProfile>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class MySqlConnectionProfile.

Specifies connection parameters required specifically for MySQL databases.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> MySqlConnectionProfile

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[MySqlConnectionProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.MySqlConnectionProfile.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MySqlConnectionProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.MySqlConnectionProfile.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[MySqlConnectionProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.MySqlConnectionProfile.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CloudDms.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.md.txt)

## Assembly

Google.Cloud.CloudDms.V1.dll

## Constructors

### MySqlConnectionProfile()

    public MySqlConnectionProfile()

### MySqlConnectionProfile(MySqlConnectionProfile)

    public MySqlConnectionProfile(MySqlConnectionProfile other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `MySqlConnectionProfile` |

## Properties

### CloudSqlId

    public string CloudSqlId { get; set; }

If the source is a Cloud SQL database, use this field to
provide the Cloud SQL instance ID of the source.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Host

    public string Host { get; set; }

Required. The IP or hostname of the source MySQL database.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Password

    public string Password { get; set; }

Required. Input only. The password for the user that Database Migration
Service will be using to connect to the database. This field is not
returned on request, and the value is encrypted when stored in Database
Migration Service.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PasswordSet

    public bool PasswordSet { get; set; }

Output only. Indicates If this connection profile password is stored.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Port

    public int Port { get; set; }

Required. The network port of the source MySQL database.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### Ssl

    public SslConfig Ssl { get; set; }

SSL configuration for the destination to connect to the source database.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SslConfig` |   |

### Username

    public string Username { get; set; }

Required. The username that Database Migration Service will use to connect
to the database. The value is encrypted when stored in Database Migration
Service.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |