# PomeloEntityFrameworkCoreMySqlSettings Properties

- Package: [Aspire.Pomelo.EntityFrameworkCore.MySql](/reference/api/csharp/aspire.pomelo.entityframeworkcore.mysql.md)
- Type: [PomeloEntityFrameworkCoreMySqlSettings](/reference/api/csharp/aspire.pomelo.entityframeworkcore.mysql/pomeloentityframeworkcoremysqlsettings.md)
- Kind: `Properties`
- Members: `7`

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

## CommandTimeout

- Name: `CommandTimeout`
- Modifiers: `nullable` `get; set`
- Returns: `int?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.Pomelo.EntityFrameworkCore.MySql/PomeloEntityFrameworkCoreMySqlSettings.cs)

Gets or sets the time in seconds to wait for the command to execute.

```csharp
public int? CommandTimeout { get; set; }
```

## ConnectionString

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

Gets or sets 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.Pomelo.EntityFrameworkCore.MySql/PomeloEntityFrameworkCoreMySqlSettings.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.Pomelo.EntityFrameworkCore.MySql/PomeloEntityFrameworkCoreMySqlSettings.cs)

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

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

## DisableRetry

- Name: `DisableRetry`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.Pomelo.EntityFrameworkCore.MySql/PomeloEntityFrameworkCoreMySqlSettings.cs)

Gets or sets whether retries should be disabled.

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

## DisableTracing

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

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

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

## ServerVersion

- Name: `ServerVersion`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.Pomelo.EntityFrameworkCore.MySql/PomeloEntityFrameworkCoreMySqlSettings.cs)

Gets or sets the server version of the MySQL database to connect to.

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