"mysql entity framework error - the specified store provider cannot be found in the configuration, or is not valid" Code Answer

1

but it only works on pcs that have had the "mysql connector net 6.4.4" installed.

does it mean that you are trying to run your code on machine where the provider is not installed? in such case you must also register the provider in your configuration file because installation adds it to machine.config and if you didn't install it the provider is currently not registered.

try to add this to your web.config file:

<system.data>
  <dbproviderfactories>
    <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.4.4.0, culture=neutral, publickeytoken=c5687fc88969c44d" />
  </dbproviderfactories>
</system.data>
By Aquiles Carattino on July 25 2022

Answers related to “mysql entity framework error - the specified store provider cannot be found in the configuration, or is not valid”

Only authorized users can answer the Search term. Please sign in first, or register a free account.