Cannot uninstall MySQL Connector/Net 6.3 or higher

亡梦爱人 提交于 2019-12-03 21:21:22

I've had to battle this for quite a few hours! I also managed to fix this myself as most of the information available was of no use - quite an achievement for me.

I previously had a version of the MySQL .Net Connector installed. At some point I uninstalled it in order to get past problems with WebMatrix. It seems that the uninstall process is a bit faulty (see here for one example: http://bugs.mysql.com/bug.php?id=64443)

The fix

  1. Run the "Start the Program Install and Uninstall troubleshooter" tool on this page: http://support2.microsoft.com/kb/2438651
  2. Tell the wizard that you're having problems uninstalling a product.
  3. After a short while, select the "MySQL Net Connector " item in the list and have the wizard "repair" the uninstall

Non WebMatrix install 4. If you're not installing via WebMatrix then run the installer for the connector. Select "Custom" install and make sure that only the CORE components are installed. The install will now complete successfully. It seems some of the other components are what causes the install problems. I suspect it's some sort of GAC issue, but I can't be sure.

WebMatrix install 5. If you're using WebMatrix then identify which version of the MySQL connector it's trying to install (6.5.4 at the time of writing). Get the version (and the msi package) by attempting to install whatever gallery application you are trying to install that fails (ie, WordPress). Open up the install log. In there should be the location of the connector msi. Copy & paste it. 6. Now open an elevated command prompt. Type in

    msiexec /i "<pasted location of the connector msi file>"

Don't forget the speech marks! Run the installer as per step 4.

Obviously, this won't be much use if you need the other components installed as well, but it's a start.

I just found 100% working solution and could install MySQL Connector/Net via Web Platform.

What you have to do is just open Windows registry and look up for keys, values, data using MySQL Connector Net keyword.

Delete all things you will find. That is it!

Before you go into anything clever, go through the following steps;

  1. Do you have more than one user accounts?

    if yes => go to all the user accounts and uninstall the MySQL Connectors starting with the lowest version.

  2. Do you have any programs open that might be using any MySQL Connectors?

    if yes => close them before you uninstall or install the MySQL Connector

  3. Have you failed on steps 1 and 2?

    if yes => start being clever, use RegEdit or any other options available. check this link for regedit option

Ram Natraj

I have tried all the suggestion including the Registry look-up for keys, values, etc...and delete.
But nothing has fixed, same Warning Error!

I solved this finally,

  1. Go to --> RegEdit
  2. Find and delete this registry key (5FD88490-011C-4DF1-B886-F298D955171B)

Works Perfectly!

I had a problem uninstalling .NET connector 8.0.15 in Win10

The issue was with a commented out entry in my machine.config file [%systemroot%\Microsoft.NET\Framework64\v4.0.30319\CONFIG]

This was something I had done myself...

Removing the commented out entry enabled me to uninstall/upgrade

It could be this http://bugs.mysql.com/bug.php?id=62606

It looks like quite a few people had problems with it.

This worked for me (finally)

Steps:

For Windows 10 I've found for MySQL Connector Net 7.0.5 the registry key & deleted: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall{5728E6B1-9316-468B-A381-8EA2867E747A}

If you have a problem locating the registry key try running msiexec with print to log, for example:

msiexec /x "<location>\mysql-connector-net-x.x.x.msi" /L*V "<log file name>"

I've made sure that the folder connector folder in Program Files contained the dll (MySql.Data.dll, MySql.Data.Entity.EF6.dll, MySql.Web.dll)

Disable the rollback functionality:

  • Add to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\Installer the property "DisableRollback" with the value 1 (dword) or you can paste this to a "reg" file:

    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\Installer]
    

    "DisableRollback"=dword:00000001

I suggest that you enable the rollback functionality by deleting the entry in the registry or set the value to 0.

Uninstall

For uninstalling, this method could also be helpful if you know when you installed the program.

  1. Do a system restore by going into the start menu in windows and right clicking on Computer.
  2. Go into Properties and look for the System Protection. There should be a button with "System Restore" on it.
  3. You can choose how far back you'd like to restore your system.

This could help you uninstall the program, and many other programs. Keep in mind that this method should only be used if you have not downloaded or uninstalled anything that you permanently want to stay the same, which, in case you will have to redo it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!