17

What is the difference between the MySql.ConnectorNET.Data and the MySql.Data packages on NuGet?

They both appear to be published by the same user (MySQL), and the Project Site links point to the same location (http://dev.mysql.com/downloads/).

After installing both, the ConnectorNET version appears to lag behind the other version by a release.

qxn
  • 17,162
  • 3
  • 49
  • 72

1 Answers1

11

Since the time you asked this question, Oracle (the package owner) has made the situation clear:

  • MySql.Data is the official package that continues to be updated.
  • MySql.ConnectorNET.Data now has no published releases. It shows the warning: “The owner has unlisted this package. This could mean that the package is deprecated or shouldn't be used anymore.”

NuGet also has the following other MySQL ADO.NET connectors:

Bradley Grainger
  • 27,458
  • 4
  • 91
  • 108
  • Is it ok to use MySqlConnector if application using DB First Entity Framework? What other packages needs to install? – Himalaya Garg Aug 04 '22 at 04:29
  • @HimalayaGarg There is no EF library based on MySqlConnector. For EF Core, use https://www.nuget.org/packages/Pomelo.EntityFrameworkCore.MySql. – Bradley Grainger Aug 04 '22 at 05:44