# MySQL Connector/NET

> Oracle's official ADO.NET driver for MySQL

Source: https://talira.ai/catalog/mysql-connector-net-dcm1g910
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / databases / drivers](https://talira.ai/categories/libraries/databases/drivers)
- Licence: GPL-2.0-only WITH Universal-FOSS-exception-1.0[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Oracle](https://talira.ai/orgs/oracle.md)

MySQL Connector/NET is the MySQL team at Oracle's official data provider for connecting .NET applications to [MySQL](https://talira.ai/catalog/mysql-dy4scprm.md). It is a fully managed ADO.NET provider written in C# that doesn't use the MySQL C client library, and it works with Entity Framework 6 and Entity Framework Core. It supports MySQL's document store over the X Protocol, compression, TLS 1.2 and 1.3, TCP/IP, Unix sockets, named pipes and shared memory, large packets up to 2 GB, connection pooling, async methods and OpenTelemetry tracing. The NuGet package is MySql.Data.

## Links

- Website: https://dev.mysql.com/downloads/connector/net/
- GitHub: https://github.com/mysql/mysql-connector-net
- Docs: https://dev.mysql.com/doc/connector-net/en/

## Problems it solves

- connect my C# app to a MySQL database
- use Entity Framework Core with MySQL
- query MySQL from .NET over an encrypted connection

## Features

- fully managed ADO.NET provider in C#
- Entity Framework 6 and Entity Framework Core support
- MySQL document store over the X Protocol
- TLS 1.2 and 1.3, compression and connection pooling
- async methods and OpenTelemetry tracing

## Trust

Overall: 0.40 out of 1.
Signals: maintenance 0.51, adoption 0.51, momentum 0.16, community 0.58, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 9 commits in the last 90 days
- 335 GitHub stars
- 28 contributors
- backed by Oracle

## Related

- Works with [MySQL](https://talira.ai/catalog/mysql-dy4scprm.md)

## Alternatives

- [MySqlConnector](https://talira.ai/catalog/mysqlconnector-nnfnah5n.md): Fully async MIT-licensed ADO.NET provider for MySQL, MariaDB and compatible servers
- [Npgsql](https://talira.ai/catalog/npgsql-4e45p4k7.md): Open source .NET data provider for PostgreSQL
- [Microsoft.Data.SqlClient](https://talira.ai/catalog/microsoft-data-sqlclient-1txkmm5x.md): Microsoft SqlClient Data Provider for SQL Server
- [MongoDB .NET/C# Driver](https://talira.ai/catalog/mongodb-net-c-driver-gst140d8.md): The official .NET and C# driver for MongoDB

## Sources

[^1]: https://github.com/mysql/mysql-connector-net/blob/trunk/LICENSE (checked 28 Nov 2026)
[^2]: https://github.com/mysql/mysql-connector-net/blob/trunk/README.md (checked 28 Nov 2026)
