A fully-managed ADO.NET driver for MySQL, providing .NET applications with native database connectivity and modern features.
MySQL Connector/NET is an ADO.NET driver that provides .NET applications with connectivity to MySQL databases. It implements the MySQL protocol entirely in C#, allowing developers to interact with MySQL without relying on external native libraries. The driver supports both traditional relational operations and modern NoSQL document store features through MySQL X DevAPI.
.NET developers building applications that require MySQL database connectivity, including those using Entity Framework Core for data access and developers needing cross-platform compatibility across .NET Framework and .NET Core.
Developers choose MySQL Connector/NET for its pure managed implementation, which ensures better integration with .NET tooling and avoids native dependency issues. It offers comprehensive feature support including OpenTelemetry, modern authentication methods, and seamless compatibility with the latest .NET and EF Core versions.
Connector/NET is a fully-managed ADO.NET driver for MySQL.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
It's a fully-managed C# library that eliminates dependencies on native MySQL client libraries, ensuring seamless integration with .NET ecosystems and avoiding cross-platform issues.
Includes MySQL X DevAPI for NoSQL document store operations, OpenTelemetry integration for observability, and supports WebAuthn authentication with TLS 1.3, as highlighted in the version history.
Supports both .NET Framework and .NET Core, with ongoing updates for latest versions like .NET 9 and 10, enabling development across diverse environments.
Compatible with EF Core versions 8, 9, and 10, providing a robust ORM solution for MySQL data access in .NET applications.
The README notes regular removal of support for older .NET and EF Core versions (e.g., .NET 6 and 7 dropped in version 9.2), forcing upgrades and increasing maintenance burden.
OpenTelemetry functionality requires a separate NuGet package (MySql.Data.OpenTelemetry), adding complexity to setup and potential version conflicts.
Uses GPLv2 with FOSS exception, which can be restrictive for some commercial projects compared to more permissive licenses, necessitating careful legal review.
As a pure managed implementation, it may have performance overheads in high-throughput scenarios compared to drivers leveraging native libraries for optimized operations.