# MySqlConnectorSettings Properties

- Package: [Aspire.MySqlConnector](/reference/api/csharp/aspire.mysqlconnector.md)
- Type: [MySqlConnectorSettings](/reference/api/csharp/aspire.mysqlconnector/mysqlconnectorsettings.md)
- Kind: `Properties`
- Members: `4`

Provides the client configuration settings for connecting to a MySQL database using MySqlConnector.

## ConnectionString

- Name: `ConnectionString`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.MySqlConnector/MySqlConnectorSettings.cs)

The connection string of the MySQL database to connect to.

```csharp
public string? ConnectionString { get; set; }
```

## DisableHealthChecks

- Name: `DisableHealthChecks`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.MySqlConnector/MySqlConnectorSettings.cs)

Gets or sets a boolean value that indicates whether the database health check is disabled or not.

```csharp
public bool DisableHealthChecks { get; set; }
```

## DisableMetrics

- Name: `DisableMetrics`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.MySqlConnector/MySqlConnectorSettings.cs)

Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are disabled or not.

```csharp
public bool DisableMetrics { get; set; }
```

## DisableTracing

- Name: `DisableTracing`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.MySqlConnector/MySqlConnectorSettings.cs)

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

```csharp
public bool DisableTracing { get; set; }
```
