title: Enity Framework With MySQL
body: <p>I am getting the following error</p>
  
  <p>"The Entity Framework provider type 'MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity' registered in the application config file for the ADO.NET provider with invariant name 'MySql.Data.MySqlClient' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See <a href="http://go.microsoft.com/fwlink/?LinkId=260882" rel="noreferrer">http://go.microsoft.com/fwlink/?LinkId=260882</a> for more information."</p>
  
  <p>However I do have MySql.Data.dll and MySql.Data.Entity.dll and also MySql.Data.Entity.EF6.dll referenced in my project (comes from MySQL Connector Net 6.8.3)</p>
  
  <p>Here is my App.conf</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;configuration&gt;
    &lt;configSections&gt;
     &lt;!-- For more information on Entity Framework configuration, visit  http://go.microsoft.com/fwlink/?LinkID=237468 --&gt;
     &lt;section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&gt;
   &lt;/configSections&gt;
   &lt;connectionStrings&gt;
    &lt;add name="inspectm_inspectContext" connectionString="server=--user id=--;password=--;database=--;persistsecurityinfo=True" providerName="MySql.Data.MySqlClient" /&gt;
    &lt;/connectionStrings&gt;
  &lt;system.data&gt;
    &lt;DbProviderFactories&gt;
      &lt;add name="MySQL Data Provider"
      invariant="MySql.Data.MySqlClient"
      description=".Net Framework Data Provider for MySQL"
      type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" /&gt;
    &lt;/DbProviderFactories&gt;
  &lt;/system.data&gt;
  &lt;entityFramework&gt;
  &lt;defaultConnectionFactory type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" /&gt;
  &lt;providers&gt;
    &lt;provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity" /&gt;
  &lt;/providers&gt;
  &lt;/entityFramework&gt;
  &lt;/configuration&gt;
  </code></pre>