Entity Framework's Entity Data Wizard Crashes When Connecting to MySQL Database

It is caused by version mismatch.

On my system, I had MySQL Connector 6.9.6. Issuing the command in NuGet Package Manger Console:

Install-Package MySql.Data.Entity installs version 6.9.8 by default. Your connector must match the actual version of the NuGet Package. You can download an updated version of the connector from: https://www.mysql.com/products/connector/

Here select the "Ado.net driver for MySQL", and download the corresponding version (in this case 6.9.8). Reopen Visual Studio and now the wizard does not crash. No reboot required.


I had this problem today, following the tips here that it is a "version mismatch" is completely correct!

My important "discovery" is that they have renamed the package you need for EF6! As many people here has discovered (for example "Nofi"), downgrading to match versions fixes the problem. However, instead of downgrading the new versions, swap out the Mysql.Data.Entity package for the newer MySql.Data.EntityFramework! :)

short: use MySql.Data.EntityFramework, NOT Mysql.Data.Entity


I faced the same issue it was because I was using Mysql connector v 8.0.12 ,MySql.Data v8.0.12 and Mysql.Data.Entity v6.10.8.

The program crashes because of compatibility issues.What worked for me is I installed all three of the same version

Mysql connector v 6.10.8 and MySql.Data v6.10.8 and Mysql.Data.Entity v6.10.8.