MySql Connector/NET 6.3.1 and Visual Studio 2010, what a mess

Posted: May 21st, 2010 | Author: | Filed under: Test Lab | Tags: , , | 4 Comments »

I just survived a real mess of installing latest alpha MySQL Connector for .NET (6.3.1), first when I downloaded it from, I think German mirror (SUNSite) there was no .msi file in mysql-connector-net-6.3.1.zip  only files like ones in “-noinstall” version. But after googling for an hour, found an .msi one version to download.

But, that is not all, running mysql.data.msi was not installing the product, it rollbacks the installation, with no error message at all. So I found one post on MySQL forum, one good soul has tried to debug Connector/Net on installation and found problem of “Config” folder in .NET Framework folders (x:\Windows\Microsoft.NET\Framework) .“Config” folder is only in CLR changed frameworks – 1.0, 1.1, 2.0, 4.0).  The problem was easily solved by renaming “Config” folder, for installation only, after renamed back to “Config”.

He (the guy from forum post) has problem with v1.1.43222, probably because he has one installed, I didn’t, so this wasn’t my problem, so I was stuck with this. But as I was reading through all replies (about 20+) to this post in forum, there was one reply, saying to rename all “Config” folder inside “Framework” folder.

This was like eureka to me, so I saw something interesting in “Framework” folder. Since I was following .NET 4 Framework from its early stages, I have had three “old” folders in it:

  • Old_v4.0.20506
  • Old_v4.0.21006
  • Old_v4.0.301280

And all of this folders have “Config” folders. I renamed it all to “Config0”, and only one not renamed “Config” folders was:

  • v2.0.50727
  • v4.0.30319

Now, mysql.data.msi installs just fine and there are no more mess with Connector/.NET, and everything works fine from integration with Visual Studio 2010 to using MySQL with POCO feature in Entity Framework 4, now available with .NET 4 Framework only.


4 Responses to “MySql Connector/NET 6.3.1 and Visual Studio 2010, what a mess”

  1. 4
    vaishali Says:

    I faced the similar problem then i downloaded from the second link which is .msi file.

  2. 3
    Miro Says:

    Thanks, the “Old_…/Config” solved my connector instalation problem too.

  3. 2
    Need hosting solution with following:Php:4.3.10+ , mysql 4.1, Linux Box, SSH enabled, SVN client? | BingSite Says:

    [...] MySql Connector/NET 6.3.1 and Visual Studio 2010, what a mess | Learn-a-holic [...]

  4. 1
    MySql Connector/NET 6.3.1 and Visual Studio 2010, what a mess … | Learn Visual Studio Says:

    [...] the original here: MySql Connector/NET 6.3.1 and Visual Studio 2010, what a mess … Please Share This [...]

Leave a Reply