MySQL EF Core Database Provider

This database provider allows Entity Framework Core to be used with MySQL. The provider is maintained as part of the MySQL project.


This provider is pre-release.


This provider is not maintained as part of the Entity Framework Core project. When considering a third party provider, be sure to evaluate quality, licensing, support, etc. to ensure they meet your requirements.


Install the MySql.Data.EntityFrameworkCore NuGet package.

Install-Package MySql.Data.EntityFrameworkCore -Pre

Get Started

See Starting with MySQL EF Core provider and Connector/Net 7.0.4.

Supported Database Engines

  • MySQL

Supported Platforms

  • .NET Framework (4.5.1 onwards)

  • .NET Core

Be sure to review the MySQL documentation for version compatibility information here and here