This is a migrated thread and some comments may be shown as answers.

MySql.Data.dll - Upgrade

2 Answers 88 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Scott
Top achievements
Rank 2
Scott asked on 14 Feb 2013, 05:33 PM
Are there any plans to upgrade to a more recent version of the MySql.Data.dll assembly used by Telerik's OpenAccess ORM... I only ask because I use it directly in some instances, and running two different versions of the same assembly is a bit cumbersome especially when trying to deploy to a production website in an automated fashion....? Or do you have any suggestions?

The version of Telerik OpenAccess I am using is referencing MySql.Data.dll v6.2.3

And the version I am using directly is v6.5.4.... fyi...

2 Answers, 1 is accepted

Sort by
0
Accepted
Jan Blessenohl
Telerik team
answered on 15 Feb 2013, 08:08 AM
Hi Scott,

OpenAccess does not refer to any MySQL dll directly, but we have a fallback if the MySQL ado driver is not registered as such on the machine. To register the driver, you can install it via the new MySQL server installer, just choose to install only the .NET connector or to add the registration by hand to your machine or app or 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.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>

Just replace the version with the one you are shipping with your product. The upcoming Q1 product will have the fallback to the 6.6.5.0 version.

Regards,
Jan Blessenohl
the Telerik team
Q3'12 SP1 of OpenAccess ORM packs Multi-Table Entities mapping support. Check it out.
0
Scott
Top achievements
Rank 2
answered on 19 Feb 2013, 10:13 PM
That worked perfectly and was exactly what I needed... Thanks!
Tags
General Discussions
Asked by
Scott
Top achievements
Rank 2
Answers by
Jan Blessenohl
Telerik team
Scott
Top achievements
Rank 2
Share this question
or