talira

MySqlConnector

Fully async MIT-licensed ADO.NET provider for MySQL, MariaDB and compatible servers

open sourceMITfree

MySqlConnector is an open source ADO.NET data provider for MySQL, MariaDB and other MySQL-compatible servers, started by Bradley Grainger. It implements DbDataSource, DbConnection, DbCommand, DbDataReader and DbTransaction with true async I/O and the newer ADO.NET APIs such as DbBatch, and emits OpenTelemetry traces and metrics. Its README says it outperforms Oracle's MySQL Connector/NET on benchmarks and fixes dozens of its open bugs, and it works with Dapper, LINQ to DB, NHibernate and the Pomelo Entity Framework Core provider.

Problems it solves

  • connect to MySQL from a .NET app with real async queries
  • an MIT-licensed MySQL driver for .NET I can ship in commercial software
  • query MariaDB or Aurora MySQL from C#

Features

  • true async ADO.NET provider
  • DbDataSource, DbBatch and the latest ADO.NET APIs
  • MySQL 5.5 and newer and MariaDB 10.x and newer
  • OpenTelemetry tracing and metrics
  • works with Dapper, LINQ to DB, NHibernate and EF Core (Pomelo)

Alternatives

The same job

These do what MySqlConnector does.

  1. MySQL Connector/NET Oracle's official ADO.NET driver for MySQL

Compare MySqlConnector with the top 3