Re: v6.7.4 installed, but 6.6.5.0 attempted to load. - Solved
Posted by: Hugh Leighton
Date: July 10, 2013 12:47PM

Solved my problem. I was missing a step of adding db Provider factory into the App.Config. I added:
<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.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>

and it worked as expected. The hardest part was sorting out that the PublicKeyToken is the same for different connector versions.

Thanks

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.