Bug #9466 LEGACY_MYSQL in registry creates problem with new installs.
Submitted: 29 Mar 2005 21:48 Modified: 1 May 2005 2:49
Reporter: Travis Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:mysql 4.0 OS:Windows (Win XP)
Assigned to: CPU Architecture:Any

[29 Mar 2005 21:48] Travis
Description:
I currently am unable to get the "green light" after installing the latest
release of mysql for windows using the .msi download.

To begin this install I uninstalled my previous version but still am encountering
this problem.

I searched google and others are also having this difficulty related to
the registry still having LEGACY_MYSQL in the registry.

I am unable to delete LEGACY_MYSQL using the registry editor as it will
not allow it.

How to repeat:
Install the mysql 4.0 for Win XP. Uninstall it.

Install latest mysql version for Win XP using the .msi download.

Attempt to run mysql.

Suggested fix:
I dont know.
[29 Mar 2005 23:33] MySQL Verification Team
I wasn't able to repeat that behavior reported. Can you elaborate
the steps you did for install and what was the error you got ?
[29 Mar 2005 23:39] Travis
Sure no problem i will do my best. 

I have the old version of mysql still in a folder. Where do I look
in the docs? to find out exactly what distribution that old version
was?

What do I type at the command line to report the error on the new
install, so I can tell you?

It would be good to know how to go about removing LEGACY_MYSQL as
it should not remain in the registry anyway, and I suspect it is what is
causing the conflict. How do I remove it?
[30 Mar 2005 0:03] MySQL Verification Team
I don't recommend you to remove LEGACY_MYSQL from the registry,
at my side it not interferes in the functionality of the installer and you
can damage the registry stuff.

If you have the old stuff and if you have the MySQL service installed
you can remove it issuing from a DOS prompt:

\bin>mysqld-nt --remove

verify in your ADD/Remove program if already exists the older installation
and try to remove it.

After this try to install MySQL with the new installer. Let me know any
issue you get.
[1 Apr 2005 2:49] Travis
Miguel - 

Thanks for the help. Not sure exactly how I was able to get it working but
yes legacy_mysql was probably not the issue.

I ran the remove line you gave. But that did not work as I still had no green
light when i reinstalled and ran.

So instead I intalled with the full installer and then uninstalled that. For some
reason that was able to clear the decks and when I then installed the version
without the installer I was able to get the green light.

Wish I had a better understanding of what exactly was the problem but it does
work now. 

Thanks,
Travis
[1 May 2005 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".