No Entity Framework provider found for 'MySql.Data.MySqlClient' ADO.NET provider

前端 未结 11 721
青春惊慌失措
青春惊慌失措 2020-11-29 04:45

I\'m trying to use Entity Framework with MySQL and I get the above error. I have the latest MySQL connector installed.

The full error reads:

No Entit         


        
11条回答
  •  遥遥无期
    2020-11-29 05:19

    Just adding a summary of versions (since I saw you are trying 6.2 which is way too old)

    • For EF4, use Connector/NET 6.6.x (current GA is 6.6.6)
    • For EF5, use Connector/NET 6.7.x (current GA is 6.7.4) or Connector/NET 6.8.x (current GA is 6.8.3).
    • For EF6, use Connector/NET 6.8.x (current GA is 6.8.3).

提交回复
热议问题