Bug #61558 Impossible to update or remove the .NET connector
Submitted: 18 Jun 2011 19:08 Modified: 20 Jun 2011 8:57
Reporter: Louis Breda van Email Updates:
Status: Duplicate Impact on me:
Category:Connector / NET Severity:S1 (Critical)
Version:6.3.4 and others OS:Windows (WIndows7 64 bit)
Assigned to: Bogdan Degtyariov CPU Architecture:Any
Tags: remove, UPDATE

[18 Jun 2011 19:08] Louis Breda van

It is a very serieus problem at least that it is impossible to remove the .net-connector. This really have to be solved on short terms.

Since you can not install a new version before the installed version is removed, the problem has two consequences:
- you can not remove the connector
- you can not install another (newer/older) version as well.

This problem has been reported a couple of times during the last couple of years, and dispite its severity, has never been fixed :( 

Please fix it with the next beta release, also taking care of possible mistakes made by older mysql.net-installers !!

Below some hints / clou's which might help you to solve the problem.


Note that I have spend at least a full day trying to remove the old connector, but, did not manage, with all described consequences!! 

How to repeat:
Quite eassely.

- install connector
- install visual studio (e.g. VS2010 express, I am using visual basic express)
- create a project using e.g. the data connector
- try to remove the .net connector

I case that works (i do  not expect so),
- install an earlear .net-connector version
- make the linkg from within VS2010
- install latest .net-connector
- try to remove it  

Suggested fix:
Some hints:

I have been looking for options to get rid of the old .net connectors. I am sad to say, that I did not yet manage (!!), however I think I have some clue’s

I start investigating my system as a result of fragments on the bug forum.

I did find out that there are remains in the windows/assembly directory. Those remains are related to Visual studio using those assemblys.
However even after removing the links to the assemblys in VS2010 (express edition), I was still not capably to remove the connector.

-	If you try to remove the connector from the windows config screen, the uninstaller runs.
-	It says “OK” but nothing visable has been changed
-	If you try to install the same or a newer connector it is not possible, since there is already an connector
-	Before I removed the assembly linking to MySQL in my VS-project, windows assembly dir showed 6.3.4 assemblys (3)
-	After removing the linking I noticed 6.3.4 AND 6.3.6 assemblys (2 * 3) 

In general, the mysql assemblys and the rest of the connector should be removed completely!! Even if some assemblys are refered to by VS !!!!!!!!!!!!!!!!!!
If so, you just have to make NEW references from within VS to the NEW assemblys

I assume the removal of the assemblys should be done by the delayed uninstaller during reboot !!


Note, that also the removal of MySQL server leaves leftovers in the system. E.g. MySQL config tool still detects MySQL server 5.1, 5.2 etc removed long ago !!
[20 Jun 2011 8:57] Bogdan Degtyariov
This bug is duplicate of bug #61337.
The workaround for the problem is described here: