Bug #12821 | Fail MySQL Server 5.11 install - Older version of MySQL 5.0 cannot be removed | ||
---|---|---|---|
Submitted: | 26 Aug 2005 2:11 | Modified: | 26 Sep 2005 10:29 |
Reporter: | Chris Christophorou | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S1 (Critical) |
Version: | 5.0.11 | OS: | Windows (Win 2000 Professional) |
Assigned to: | CPU Architecture: | Any |
[26 Aug 2005 2:11]
Chris Christophorou
[26 Aug 2005 7:05]
Valeriy Kravchuk
Have you tried to remove the results of unsuccessfull installation using Control Panel > Add or Remove Programs? MySQL 5 use the HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Server 5.0 folder in the registry. Is there anything in it? It may also be installed as a service. But according to my experience, all these but data directory are successfully removed by standard Windows procedure (Control Panel > Add or Remove Programs).
[26 Aug 2005 9:47]
Chris Christophorou
Thanks Valeriy, I had already tried all that. Add or Remove programs do not show any traces of MySQL 5 as I had already removed it. The registry entry you describe does not exist. Any other ideas are welcome. Thank you.
[26 Aug 2005 10:29]
Valeriy Kravchuk
This 1714 is a MSI bug really (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/windows_install...) One idea to fix it is to download 5.0.4 once more (from http://downloads.mysql.com/archives.php?p=mysql-5.0&v=5.0.4), check MD5 checksum and run the installer. It should provide the repair option. Repair the installation, then deinstall it cleanly and start 5.0.11 installation from the very begining. The other idea I have is a partially installed Windows service left from previous install attempt. Please, check any references to MySQL in HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\, HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ and delete them before trying to install next time. I believe, that if therte is no reference to MySQL in the registry, and registry is not corrupted, then this message should disappear. http://www.mindjet.com/supportde/question.php?qstId=297 has some hints (in German)... You may have to delete an entry for MySQL Server 5.0 in [HKEY_LOCAL_MACHINE\Software\Classes\Installer\Products], but this can be risky. Try it as a last option. That's all ideas for now (i've consulted with the setup.exe developer also). Never seen such an error message personally. Please, inform me about the results of 5.0.11 installation attempts after trying to implement each idea in the proposed order. The bug, if any, is not in 5.0.11 really...
[26 Sep 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".
[1 Jul 2006 11:32]
[ name withheld ]
I have the same problem but with 4.1 version. "Error 1714. The older version of MySQL Server 4.1 cannot be removed. Contact your technical support group." OS Windows XP Pro I've tryed all your ideas but nothing changed. I think that it is because of damaged registry... but don't know for sure. What reg keys reads the installer? How can it know that I have a MySQL Server installed?
[2 Jul 2006 11:56]
[ name withheld ]
The metter was that MySQL server was installed from local network and during uninstallation it uses this file. But the file is inaccessible that is why the error happens. I have solved this problem. By using using a regmon.exe. It shows all registry keys that are used by the programm. I've deleted all keys that where used by setup.exe/install.msi from this place: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components After that, the installer haven't seen that mysql is on computer and I installed the server. But the previous server is still in Add/remove programs menu and I cant delete it.