# PomeloEntityFrameworkCoreMySqlSettings

- Kind: `class`
- Package: [Aspire.Pomelo.EntityFrameworkCore.MySql](/reference/api/csharp/aspire.pomelo.entityframeworkcore.mysql.md)
- Version: `13.4.0`
- Namespace: `Aspire.Pomelo.EntityFrameworkCore.MySql`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.Pomelo.EntityFrameworkCore.MySql/PomeloEntityFrameworkCoreMySqlSettings.cs)

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

## Definition

```csharp
namespace Aspire.Pomelo.EntityFrameworkCore.MySql;

public sealed class PomeloEntityFrameworkCoreMySqlSettings
{
    // ...
}
```

## Constructors

- [PomeloEntityFrameworkCoreMySqlSettings](/reference/api/csharp/aspire.pomelo.entityframeworkcore.mysql/pomeloentityframeworkcoremysqlsettings/constructors.md#constructor)

## Properties

- [CommandTimeout](/reference/api/csharp/aspire.pomelo.entityframeworkcore.mysql/pomeloentityframeworkcoremysqlsettings/properties.md#commandtimeout) : `int?` `get; set` -- Gets or sets the time in seconds to wait for the command to execute.
- [ConnectionString](/reference/api/csharp/aspire.pomelo.entityframeworkcore.mysql/pomeloentityframeworkcoremysqlsettings/properties.md#connectionstring) : `string?` `get; set` -- Gets or sets the connection string of the MySQL database to connect to.
- [DisableHealthChecks](/reference/api/csharp/aspire.pomelo.entityframeworkcore.mysql/pomeloentityframeworkcoremysqlsettings/properties.md#disablehealthchecks) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the database health check is disabled or not.
- [DisableMetrics](/reference/api/csharp/aspire.pomelo.entityframeworkcore.mysql/pomeloentityframeworkcoremysqlsettings/properties.md#disablemetrics) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are disabled or not.
- [DisableRetry](/reference/api/csharp/aspire.pomelo.entityframeworkcore.mysql/pomeloentityframeworkcoremysqlsettings/properties.md#disableretry) : `bool` `get; set` -- Gets or sets whether retries should be disabled.
- [DisableTracing](/reference/api/csharp/aspire.pomelo.entityframeworkcore.mysql/pomeloentityframeworkcoremysqlsettings/properties.md#disabletracing) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
- [ServerVersion](/reference/api/csharp/aspire.pomelo.entityframeworkcore.mysql/pomeloentityframeworkcoremysqlsettings/properties.md#serverversion) : `string?` `get; set` -- Gets or sets the server version of the MySQL database to connect to.
