MySql Connector/NET 6.3.1 and Visual Studio 2010, what a mess
Posted: May 21st, 2010 | Author: Kornelije Sajler | Filed under: Test Lab | Tags: Connector/NET, MySQL, Visual Studio 2010 | 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.





April 4th, 2011 at 13:37
I faced the similar problem then i downloaded from the second link which is .msi file.
June 28th, 2010 at 13:08
Thanks, the “Old_…/Config” solved my connector instalation problem too.
May 22nd, 2010 at 00:42
[...] MySql Connector/NET 6.3.1 and Visual Studio 2010, what a mess | Learn-a-holic [...]
May 21st, 2010 at 18:56
[...] the original here: MySql Connector/NET 6.3.1 and Visual Studio 2010, what a mess … Please Share This [...]