1
I installed Mysql Connect in the environment, installed Mysql references through Nuget package. When I start the system and try to make an entry in the database, the following error appears:
The ADO.NET Provider with invariant name 'Mysql Data Provider' is either not Registered in the machine or application config file, or could not be Loaded. See the Inner Exception for Details.
Unable to locate the requested Data Provider . Net Framework. Maybe he’s not installed.
Connectionstring:
<add name="DefaultConnection" providerName="MySQL Data Provider" connectionString="Server=localhost;Database=bananasfit;Uid=root; " />
Provider
<DbProviderFactories>
<clear/>
<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.8.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
What may be causing this mistake?